diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-09-18 16:29:55 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-09-18 16:30:32 +0200 |
commit | 5418c6291a39d27aeee471673adba742080e1ccb (patch) | |
tree | 177eb97c9aeb217231e3eafae29483a9936b41b2 /src/App.vue | |
parent | ae1b04d1c4db540cead1dd10c458f720ae3ab99c (diff) | |
download | homer-5418c6291a39d27aeee471673adba742080e1ccb.tar.gz homer-5418c6291a39d27aeee471673adba742080e1ccb.tar.zst homer-5418c6291a39d27aeee471673adba742080e1ccb.zip |
Fix UptimeKuma status message when all sites are down #503
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue index 5ab5c0d..f2089ee 100644 --- a/src/App.vue +++ b/src/App.vue | |||
@@ -207,7 +207,9 @@ export default { | |||
207 | this.currentPage = window.location.hash.substring(1) || "default"; | 207 | this.currentPage = window.location.hash.substring(1) || "default"; |
208 | 208 | ||
209 | if (this.currentPage !== "default") { | 209 | if (this.currentPage !== "default") { |
210 | let pageConfig = await this.getConfig(`assets/${this.currentPage}.yml`); | 210 | let pageConfig = await this.getConfig( |
211 | `assets/${this.currentPage}.yml` | ||
212 | ); | ||
211 | config = Object.assign(config, pageConfig); | 213 | config = Object.assign(config, pageConfig); |
212 | } | 214 | } |
213 | } catch (error) { | 215 | } catch (error) { |