From 52cccdf20e2bbb249d59960559d10ba29238a576 Mon Sep 17 00:00:00 2001 From: Dirk Peter Date: Thu, 29 Aug 2024 20:42:36 +0200 Subject: [PATCH] overhauls config and filter handling --- .../reminder-drawer.component.html | 16 ++- .../reminder-drawer.component.ts | 103 ++++++------- .../services/reminder.service.ts | 136 ++++++++++-------- 3 files changed, 131 insertions(+), 124 deletions(-) diff --git a/src/app/reminder-plugin/components/reminder-drawer/reminder-drawer.component.html b/src/app/reminder-plugin/components/reminder-drawer/reminder-drawer.component.html index 929d6a8..ab3a897 100644 --- a/src/app/reminder-plugin/components/reminder-drawer/reminder-drawer.component.html +++ b/src/app/reminder-plugin/components/reminder-drawer/reminder-drawer.component.html @@ -16,6 +16,8 @@

Reminder

+
{{ config | json }}
+
@@ -24,8 +26,8 @@

Reminder

id="reminder-type-filter" name="reminder-type" class="form-control" - (change)="filterReminders()" - [(ngModel)]="typeFilter" + [(ngModel)]="reminderTypeFilter" + (change)="setFilter()" > @@ -87,8 +89,8 @@

Reminder

{{ 'Toast Notifications' | translate }} @@ -100,8 +102,8 @@

Reminder

{{ 'Browser Notifications' | translate }} @@ -182,7 +184,7 @@

Reminder