From d3ecdb84569e331d8a49f39cce4736ec7cf1d1c7 Mon Sep 17 00:00:00 2001 From: crystal <71373843+crystalcommunication@users.noreply.github.com> Date: Wed, 21 Jun 2023 09:58:49 -0600 Subject: [PATCH] Fix auto theme for status pages on custom domains --- src/mixins/theme.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mixins/theme.js b/src/mixins/theme.js index 2f7867df..e3b361ee 100644 --- a/src/mixins/theme.js +++ b/src/mixins/theme.js @@ -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; }