Update MonitorHistory.vue

This commit is contained in:
Andreas Brett 2021-11-29 20:39:57 +01:00 committed by GitHub
parent 2f97f44086
commit c9b0a81cdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,9 +95,9 @@ export default {
this.$root.getSocket().emit("getDatabaseSize", (res) => { this.$root.getSocket().emit("getDatabaseSize", (res) => {
if (res.ok) { if (res.ok) {
this.databaseSize = res.size; this.databaseSize = res.size;
debug("database size: " + res.size); log_debug("monitorhistory", "database size: " + res.size);
} else { } else {
debug(res); log_debug("monitorhistory", res);
} }
}); });
}, },
@ -108,7 +108,7 @@ export default {
this.loadDatabaseSize(); this.loadDatabaseSize();
toast.success("Done"); toast.success("Done");
} else { } else {
debug(res); log_debug("monitorhistory", res);
} }
}); });
}, },