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