@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.umd.js
CHANGED
|
@@ -92451,7 +92451,7 @@
|
|
|
92451
92451
|
return !!props.tabs && !!props.tabs[0] && !!(props.tabs[0].routePath || props.tabs[0].routeName);
|
|
92452
92452
|
});
|
|
92453
92453
|
const onClick = (tab) => {
|
|
92454
|
-
selectedTabId.value = tab
|
|
92454
|
+
selectedTabId.value = getTabId(tab);
|
|
92455
92455
|
$emits("click", tab);
|
|
92456
92456
|
};
|
|
92457
92457
|
const computedTabs = vue.computed(() => {
|
|
@@ -92462,7 +92462,7 @@
|
|
|
92462
92462
|
const computedInitialTabId = () => {
|
|
92463
92463
|
if (needRouterEngine.value) {
|
|
92464
92464
|
const selectedTab = props.tabs.find((t) => isTabSelectedByRoute(t, currentRoute.value)) || null;
|
|
92465
|
-
selectedTabId.value = selectedTab ? selectedTab
|
|
92465
|
+
selectedTabId.value = selectedTab ? getTabId(selectedTab) : null;
|
|
92466
92466
|
} else if (props.initialTabId) {
|
|
92467
92467
|
selectedTabId.value = props.initialTabId;
|
|
92468
92468
|
} else {
|