From 96de286ad65c5131db1061b93edb552e218d2d69 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Mon, 1 Jul 2024 15:14:15 +0200 Subject: [PATCH] fix: [app] Fixed typo --- db.py | 1 + src/components/TheAdminPanel.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/db.py b/db.py index e27ca07..fdf99f6 100644 --- a/db.py +++ b/db.py @@ -17,4 +17,5 @@ NOTIFICATION_BUFFER_SIZE = 30 NOTIFICATION_MESSAGES = collections.deque([], NOTIFICATION_BUFFER_SIZE) def resetNotificationMessage(): + global NOTIFICATION_MESSAGES NOTIFICATION_MESSAGES = collections.deque([], NOTIFICATION_BUFFER_SIZE) \ No newline at end of file diff --git a/src/components/TheAdminPanel.vue b/src/components/TheAdminPanel.vue index 32476ee..d99ea0d 100644 --- a/src/components/TheAdminPanel.vue +++ b/src/components/TheAdminPanel.vue @@ -56,7 +56,7 @@ class="h-10 min-h-10 px-2 py-1 font-semibold bg-amber-600 text-slate-200 hover:bg-amber-700 btn btn-sm" > - Reset All Exercises + Clear Live Logs