mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-13 01:58:22 +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):
|
def get_link(self, flask_context=False):
|
||||||
if flask_context:
|
if flask_context:
|
||||||
url = url_for('objects_item.showItem', id=value)
|
url = url_for('objects_item.showItem', id=self.id)
|
||||||
else:
|
else:
|
||||||
url = f'{baseurl}/object/item?id={self.id}'
|
url = f'{baseurl}/object/item?id={self.id}'
|
||||||
return url
|
return url
|
||||||
|
|
Loading…
Reference in a new issue