UI - Adding watch label/title to [edit] page title (#1858)

This commit is contained in:
dgtlmoon
2023-10-13 12:51:31 +02:00
committed by GitHub
parent 9ce86a2835
commit 522e9786c6
2 changed files with 3 additions and 4 deletions

View File

@@ -167,9 +167,7 @@ class model(dict):
@property
def label(self):
# Used for sorting
if self['title']:
return self['title']
return self['url']
return self.get('title') if self.get('title') else self.get('url')
@property
def last_changed(self):