mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-12 19:16:40 +00:00
Basic tag browse buttons
This commit is contained in:
@@ -52,8 +52,15 @@ class ChangeDetectionStore:
|
||||
self.data['watching'][uuid].update({val: var})
|
||||
self.sync_to_json()
|
||||
|
||||
def get_all_tags(self):
|
||||
tags=[]
|
||||
for uuid, watch in self.data['watching'].items():
|
||||
if not watch['tag'] in tags:
|
||||
tags.append(watch['tag'])
|
||||
|
||||
|
||||
return tags
|
||||
|
||||
def delete(self, uuid):
|
||||
# Probably their should be dict...
|
||||
del(self.data['watching'][uuid])
|
||||
|
||||
Reference in New Issue
Block a user