From d21f7971b585d91bac8ac226ec7f3fd7b5a9a347 Mon Sep 17 00:00:00 2001 From: Andreas Brett Date: Thu, 11 Nov 2021 12:56:53 +0100 Subject: [PATCH] missed settings --- src/pages/Settings.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index 9d501407d..3e013a08b 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -435,7 +435,7 @@ dayjs.extend(timezone); import { timezoneList, setPageLocale } from "../util-frontend"; import { useToast } from "vue-toastification"; -import { debug } from "../util.ts"; +import { log } from "../util.ts"; const toast = useToast(); @@ -639,20 +639,20 @@ export default { this.loadDatabaseSize(); toast.success("Done"); } else { - debug(res); + log("settings", res, "debug"); } }); }, loadDatabaseSize() { - debug("load database size"); + log("settings", "load database size", "debug"); this.$root.getSocket().emit("getDatabaseSize", (res) => { if (res.ok) { this.databaseSize = res.size; - debug("database size: " + res.size); + log("settings", "database size: " + res.size, "debug"); } else { - debug(res); + log("settings", res, "debug"); } });