From 580bef76ba390fc85df0892265f31392b80301bd Mon Sep 17 00:00:00 2001 From: fabio286 Date: Thu, 6 Feb 2025 13:25:57 +0100 Subject: [PATCH] fix: replace 'this.addNotification' with 'addNotification' in useResultTables.ts --- src/renderer/composables/useResultTables.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/composables/useResultTables.ts b/src/renderer/composables/useResultTables.ts index 70a0caca..eefd8190 100644 --- a/src/renderer/composables/useResultTables.ts +++ b/src/renderer/composables/useResultTables.ts @@ -56,10 +56,10 @@ export function useResultTables (uid: string, reloadTable: () => void) { if (status === 'success') reloadTable(); else - this.addNotification({ status: 'error', message: response }); + addNotification({ status: 'error', message: response }); } catch (err) { - this.addNotification({ status: 'error', message: err.stack }); + addNotification({ status: 'error', message: err.stack }); isQuering.value = false; } }