mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
Update MonitorHistory.vue
This commit is contained in:
parent
a13bdaac84
commit
2f97f44086
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Confirm from "../../components/Confirm.vue";
|
import Confirm from "../../components/Confirm.vue";
|
||||||
import { debug } from "../../util.ts";
|
import { log_debug } from "../../util.ts";
|
||||||
import { useToast } from "vue-toastification";
|
import { useToast } from "vue-toastification";
|
||||||
|
|
||||||
const toast = useToast();
|
const toast = useToast();
|
||||||
|
@ -91,7 +91,7 @@ export default {
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
loadDatabaseSize() {
|
loadDatabaseSize() {
|
||||||
debug("load database size");
|
log_debug("monitorhistory", "load database size");
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue