mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [UI correlation graph] fix item links
This commit is contained in:
parent
afc7cfc77d
commit
1d8aa44d8b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue