mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
fix #465
This commit is contained in:
parent
a856780066
commit
50b868e751
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ export default {
|
||||||
|
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
this.hasToken = ("token" in localStorage);
|
this.hasToken = ("token" in this.$root.storage());
|
||||||
|
|
||||||
// Browser change page
|
// Browser change page
|
||||||
// https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes
|
// https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes
|
||||||
|
|
Loading…
Reference in a new issue