fix: [UI inestigations] add items link

pull/586/head
Terrtia 2022-03-08 10:55:09 +01:00
parent bcac50dd7c
commit 0b426f2cfd
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class Item(AbstractObject):
def get_link(self, flask_context=False):
if flask_context:
url = url_for('objects_item.showItem', id=value)
url = url_for('objects_item.showItem', id=self.id)
else:
url = f'{baseurl}/object/item?id={self.id}'
return url