mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-17 19:54:39 -05:00
change page title to " - Login" when on Login Form
This commit is contained in:
parent
624678826d
commit
42e30de209
@ -54,6 +54,15 @@ export default {
|
|||||||
tokenRequired: false,
|
tokenRequired: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
mounted() {
|
||||||
|
document.title += " - Login";
|
||||||
|
},
|
||||||
|
|
||||||
|
unmounted() {
|
||||||
|
document.title = document.title.replace(" - Login", "");
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
/** Submit the user details and attempt to log in */
|
/** Submit the user details and attempt to log in */
|
||||||
submit() {
|
submit() {
|
||||||
|
Loading…
Reference in New Issue
Block a user