From 3c6eda9ba1835ffc0e3545e5b7c6d7edf3efe99d Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sat, 28 Nov 2026 04:51:02 +0100 Subject: [PATCH] Added alert editing. --- components/alerts/alerts.vue | 13 +++ components/alerts/create.vue | 68 ++++++++++------ src/alerts.js | 151 +++++++++++++++++++++++++++-------- src/web/alerts.js | 42 ++++++++++ src/web/graphql.js | 2 + 5 files changed, 220 insertions(+), 56 deletions(-) diff --git a/components/alerts/alerts.vue b/components/alerts/alerts.vue index a8ca03d..7c2e925 100644 --- a/components/alerts/alerts.vue +++ b/components/alerts/alerts.vue @@ -237,6 +237,12 @@ title="Alert ID" >#{{ alert.id }} + + + + @@ -265,6 +277,7 @@ const pageContext = inject('pageContext'); const alerts = ref(pageContext.pageProps.alerts); const showAlertDialog = ref(false); +const editAlert = ref(null); const done = ref(true); const query = ref(''); diff --git a/components/alerts/create.vue b/components/alerts/create.vue index d10cf65..5eb5d68 100644 --- a/components/alerts/create.vue +++ b/components/alerts/create.vue @@ -1,6 +1,6 @@