mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Merge pull request #1866 from ThomasChr/logintitle
change page title to " - Login" when on Login Form
This commit is contained in:
commit
08fdbeaa75
1 changed files with 9 additions and 0 deletions
|
@ -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 a new issue