Skip to content

Commit

Permalink
Merge pull request #3296 from crystalcommunication/pr-custom-domain-auto
Browse files Browse the repository at this point in the history
Fix auto theme for status pages on custom domains
  • Loading branch information
louislam authored Jul 3, 2023
2 parents bd5496d + d3ecdb8 commit 4fe0891
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mixins/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4fe0891

Please sign in to comment.