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