Feat: Support auto theme in status pages

This commit is contained in:
Nelson Chan
2023-03-02 07:26:26 +08:00
parent beafbf27ad
commit 150607cc93
3 changed files with 11 additions and 4 deletions

View File

@@ -39,6 +39,9 @@ export default {
}
if (this.path.startsWith("/status-page") || this.path.startsWith("/status")) {
if (this.statusPageTheme === "auto") {
return this.system;
}
return this.statusPageTheme;
} else {
if (this.userTheme === "auto") {