diff --git a/src/components/tabs/tabs.js b/src/components/tabs/tabs.js index d0bc733f40d..38e685e778a 100644 --- a/src/components/tabs/tabs.js +++ b/src/components/tabs/tabs.js @@ -611,10 +611,8 @@ export const BTabs = /*#__PURE__*/ Vue.extend({ props: { tab: tab, tabs: tabs, - id: - tab.controlledBy || - (this.tab && this.tab.safeId ? this.tab.safeId(`_BV_tab_button_`) : null), - controls: this.tab && this.tab.safeId ? this.tab.safeId() : null, + id: tab.controlledBy || (tab.safeId ? tab.safeId(`_BV_tab_button_`) : null), + controls: tab.safeId ? tab.safeId() : null, tabIndex, setSize: tabs.length, posInSet: index + 1,