Tabs: rename prop configUrl => config

This commit is contained in:
cgfhtw
2024-01-18 15:40:42 +01:00
parent 0c0d529478
commit bc71415dd5
+3 -3
View File
@@ -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: `
<div class="fhc-tabs d-flex" :class="vertical ? 'align-items-stretch' : 'flex-column'" v-if="Object.keys(tabs).length">