We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec0465 commit 40bc4f8Copy full SHA for 40bc4f8
lib/components/tabs.vue
@@ -144,7 +144,7 @@
144
/**
145
* Dynamically update tabs
146
*/
147
- _updateTabs() {
+ updateTabs() {
148
// Probe tabs
149
if (this.$slots.default) {
150
this.tabs = this.$slots.default.filter(tab => tab.componentInstance || false)
@@ -175,15 +175,6 @@
175
}
176
177
this.setTab(tabIndex || 0, true);
178
- },
179
-
180
- /**
181
- * Wait for next tick so we can ensure DOM is updated before we inspect it
182
- */
183
- updateTabs() {
184
- this.$nextTick(() => {
185
- this._updateTabs();
186
- });
187
188
},
189
mounted() {
0 commit comments