mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
[Status Page] Fix theme bug
This commit is contained in:
parent
59cdacc052
commit
220e46bc83
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ export default {
|
|||
return "light";
|
||||
}
|
||||
|
||||
if (this.path === "/status-page" || this.path === "/status") {
|
||||
if (this.path.startsWith("/status-page") || this.path.startsWith("/status")) {
|
||||
return this.statusPageTheme;
|
||||
} else {
|
||||
if (this.userTheme === "auto") {
|
||||
|
|
|
@ -403,7 +403,7 @@ export default {
|
|||
|
||||
// Set Theme
|
||||
"config.theme"() {
|
||||
this.$root.userTheme = this.config.theme;
|
||||
this.$root.statusPageTheme = this.config.theme;
|
||||
this.loadedTheme = true;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue