mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-23 22:39:38 -05:00
Fix auto theme for status pages on custom domains
This commit is contained in:
parent
4e420ee3ff
commit
d3ecdb8456
@ -30,6 +30,9 @@ export default {
|
|||||||
theme() {
|
theme() {
|
||||||
// As entry can be status page now, set forceStatusPageTheme to true to use status page theme
|
// As entry can be status page now, set forceStatusPageTheme to true to use status page theme
|
||||||
if (this.forceStatusPageTheme) {
|
if (this.forceStatusPageTheme) {
|
||||||
|
if (this.statusPageTheme === "auto") {
|
||||||
|
return this.system;
|
||||||
|
}
|
||||||
return this.statusPageTheme;
|
return this.statusPageTheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user