Fix auto theme for status pages on custom domains

This commit is contained in:
crystal 2023-06-21 09:58:49 -06:00
parent 4e420ee3ff
commit d3ecdb8456
No known key found for this signature in database
GPG Key ID: 1122054731F7CC43

View File

@ -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;
}