@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.
@@ -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.id;
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.id : null;
92465
+ selectedTabId.value = selectedTab ? getTabId(selectedTab) : null;
92466
92466
  } else if (props.initialTabId) {
92467
92467
  selectedTabId.value = props.initialTabId;
92468
92468
  } else {