fix: [UI correlation graph] fix item links

pull/534/head
Terrtia 2020-10-13 16:26:54 +02:00
parent afc7cfc77d
commit 1d8aa44d8b
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ def get_item_url(correlation_name, value, correlation_type=None):
endpoint = 'objects_item.showItem' endpoint = 'objects_item.showItem'
url = url_for(endpoint, id=value) url = url_for(endpoint, id=value)
elif correlation_name == 'paste': ### # TODO: remove me elif correlation_name == 'paste': ### # TODO: remove me
endpoint = 'showsavedpastes.showsavedpaste' endpoint = 'objects_item.showItem'
url = url_for(endpoint, paste=value) url = url_for(endpoint, paste=value)
return url return url