mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-22 09:26:05 +03:00
Merge pull request #3296 from crystalcommunication/pr-custom-domain-auto
Fix auto theme for status pages on custom domains
This commit is contained in:
commit
4fe0891a60
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,9 @@ export default {
|
|||
theme() {
|
||||
// As entry can be status page now, set forceStatusPageTheme to true to use status page theme
|
||||
if (this.forceStatusPageTheme) {
|
||||
if (this.statusPageTheme === "auto") {
|
||||
return this.system;
|
||||
}
|
||||
return this.statusPageTheme;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue