This commit is contained in:
maxos 2018-08-07 14:21:16 -07:00
parent 8d04115c8b
commit 7cbc3f7bd4

View file

@ -101,11 +101,11 @@ class TabGroup extends EventEmitter {
} }
getTabs () { getTabs () {
return this.tabs; return this.slice().tabs;
} }
eachTab (fn) { eachTab (fn) {
this.tabs.forEach(fn); this.tabs.slice().forEach(fn);
return this; return this;
} }