From f4d5f548464a582ab8de2f16f9f1fe56d3cbff63 Mon Sep 17 00:00:00 2001 From: TobiZog Date: Thu, 14 Nov 2024 09:33:45 +0100 Subject: [PATCH] Improve Snackbar --- software/backend/routes/account.routes.ts | 10 - software/src/App.vue | 37 ++- .../src/components/basics/confirmDialog.vue | 8 +- software/src/locales/de.json | 1 + software/src/locales/en.json | 1 + software/src/stores/account.store.ts | 47 ++-- software/src/stores/band.store.ts | 8 +- software/src/stores/basket.store.ts | 6 +- software/src/stores/exercise.store.ts | 2 +- software/src/stores/feedback.store.ts | 260 ++++++++---------- software/src/stores/genre.store.ts | 12 +- software/src/stores/preferences.store.ts | 9 +- 12 files changed, 192 insertions(+), 209 deletions(-) diff --git a/software/backend/routes/account.routes.ts b/software/backend/routes/account.routes.ts index 262cde5..b7d2d14 100644 --- a/software/backend/routes/account.routes.ts +++ b/software/backend/routes/account.routes.ts @@ -88,16 +88,6 @@ account.post("/", async (req: Request, res: Response) => { .then(account => { // Status: 201 Created res.status(201).json(account) - - // Check exercise in table - Exercise.update( - { solved: true }, - { - where: { - nameEn: "Register" - } - } - ) }).catch(reason => { // Status: 409 Conflict res.status(409).json({ diff --git a/software/src/App.vue b/software/src/App.vue index 2611e43..e2d00f2 100644 --- a/software/src/App.vue +++ b/software/src/App.vue @@ -1,15 +1,14 @@