From bc71415dd5b02c2d1fe98434bc71b374d7da0c31 Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Thu, 18 Jan 2024 15:40:42 +0100 Subject: [PATCH] Tabs: rename prop configUrl => config --- public/js/components/Tabs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/js/components/Tabs.js b/public/js/components/Tabs.js index 1e77fa996..fed6957a0 100644 --- a/public/js/components/Tabs.js +++ b/public/js/components/Tabs.js @@ -12,7 +12,7 @@ export default { ], props: { // TODO(chris): rename to config? - configUrl: { + config: { type: [String, Object], required: true }, @@ -43,7 +43,7 @@ export default { } }, watch: { - configUrl(n) { + config(n) { this.initConfig(n); } }, @@ -101,7 +101,7 @@ export default { } }, created() { - this.initConfig(this.configUrl); + this.initConfig(this.config); }, template: `