Merge pull request #3296 from crystalcommunication/pr-custom-domain-auto

Fix auto theme for status pages on custom domains
pull/3355/head
Louis Lam 1 year ago committed by GitHub
commit 4fe0891a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save