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

pull/1198/head
dgtlmoon 2 years ago
parent f86763dc7a
commit 37aef0530a

@ -637,7 +637,7 @@ class ChangeDetectionStore:
n_title = watch.get('notification_title') n_title = watch.get('notification_title')
if n_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') n_urls = watch.get('notification_urls')
if n_urls: if n_urls:

Loading…
Cancel
Save