File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -282,12 +282,12 @@ export const BTabs = /*#__PURE__*/ Vue.extend({
282
282
} ,
283
283
// If tabs added, removed, or re-ordered, we emit a `changed` event
284
284
tabs ( newValue , oldValue ) {
285
- // We use `tab. _uid` instead of `tab. safeId()`, as the later is changed
286
- // in a `$nextTick()` if no explicit ID is provided, causing duplicate emits
285
+ // We use `_uid` instead of `safeId()`, as the later is changed in a `$nextTick()`
286
+ // if no explicit ID is provided, causing duplicate emits
287
287
if (
288
288
! looseEqual (
289
- newValue . map ( t => t [ COMPONENT_UID_KEY ] ) ,
290
- oldValue . map ( t => t [ COMPONENT_UID_KEY ] )
289
+ newValue . map ( $tab => $tab [ COMPONENT_UID_KEY ] ) ,
290
+ oldValue . map ( $tab => $tab [ COMPONENT_UID_KEY ] )
291
291
)
292
292
) {
293
293
// In a `$nextTick()` to ensure `currentTab` has been set first
You can’t perform that action at this time.
0 commit comments