fix: [UI inestigations] add items link

This commit is contained in:
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

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