@ouestfrance/sipa-bms-ui 8.24.3 → 8.24.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/tab.model.d.ts +1 -1
- package/dist/sipa-bms-ui.es.js +2 -2
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +2 -2
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/navigation/BmsTabs.vue +2 -2
- package/src/models/tab.model.ts +1 -1
package/dist/sipa-bms-ui.es.js
CHANGED
|
@@ -92448,7 +92448,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
92448
92448
|
return !!props.tabs && !!props.tabs[0] && !!(props.tabs[0].routePath || props.tabs[0].routeName);
|
|
92449
92449
|
});
|
|
92450
92450
|
const onClick = (tab) => {
|
|
92451
|
-
selectedTabId.value = tab
|
|
92451
|
+
selectedTabId.value = getTabId(tab);
|
|
92452
92452
|
$emits("click", tab);
|
|
92453
92453
|
};
|
|
92454
92454
|
const computedTabs = computed(() => {
|
|
@@ -92459,7 +92459,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
92459
92459
|
const computedInitialTabId = () => {
|
|
92460
92460
|
if (needRouterEngine.value) {
|
|
92461
92461
|
const selectedTab = props.tabs.find((t) => isTabSelectedByRoute(t, currentRoute.value)) || null;
|
|
92462
|
-
selectedTabId.value = selectedTab ? selectedTab
|
|
92462
|
+
selectedTabId.value = selectedTab ? getTabId(selectedTab) : null;
|
|
92463
92463
|
} else if (props.initialTabId) {
|
|
92464
92464
|
selectedTabId.value = props.initialTabId;
|
|
92465
92465
|
} else {
|