aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/App.vue
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-10-29 15:39:35 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-10-29 15:39:35 +0200
commit7172b6f507e0161a685c34e573e0ef838c974846 (patch)
treee44cc3635ae45ca7a54bc6e91611d2c798eeddb1 /src/App.vue
parent4c9212c93ecc47f83c0190f43808f9ff1bc19e6b (diff)
downloadhomer-7172b6f507e0161a685c34e573e0ef838c974846.tar.gz
homer-7172b6f507e0161a685c34e573e0ef838c974846.tar.zst
homer-7172b6f507e0161a685c34e573e0ef838c974846.zip
Update dependencies
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue
index f2089ee..25e943f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -141,7 +141,7 @@
141</template> 141</template>
142 142
143<script> 143<script>
144import jsyaml from "js-yaml"; 144import { parse } from "yaml";
145import merge from "lodash.merge"; 145import merge from "lodash.merge";
146 146
147import Navbar from "./components/Navbar.vue"; 147import Navbar from "./components/Navbar.vue";
@@ -200,7 +200,7 @@ export default {
200 } 200 }
201 }, 201 },
202 buildDashboard: async function () { 202 buildDashboard: async function () {
203 const defaults = jsyaml.load(defaultConfig); 203 const defaults = parse(defaultConfig);
204 let config; 204 let config;
205 try { 205 try {
206 config = await this.getConfig(); 206 config = await this.getConfig();
@@ -245,7 +245,7 @@ export default {
245 return response 245 return response
246 .text() 246 .text()
247 .then((body) => { 247 .then((body) => {
248 return jsyaml.load(body); 248 return parse(body);
249 }) 249 })
250 .then(function (config) { 250 .then(function (config) {
251 if (config.externalConfig) { 251 if (config.externalConfig) {