Notification templates - bug in update, was updating the main system instead of the watch notification_title incorrectly

This commit is contained in:
dgtlmoon
2022-12-06 18:29:09 +01:00
parent f86763dc7a
commit 37aef0530a
+1 -1
View File
@@ -637,7 +637,7 @@ class ChangeDetectionStore:
n_title = watch.get('notification_title')
if n_title:
self.data['settings']['application']['notification_title'] = re.sub(r, r'{{\1}}', n_title)
watch['notification_title'] = re.sub(r, r'{{\1}}', n_title)
n_urls = watch.get('notification_urls')
if n_urls: