Commit efcfbdde authored by hetech's avatar hetech Committed by GitHub

Tabs: fixed last TabNav unable to be deleted (#13039)

parent edb3c9b7
......@@ -64,6 +64,8 @@
if (!(panes.length === this.panes.length && panes.every((pane, index) => pane === this.panes[index]))) {
this.panes = panes;
}
} else if (this.panes.length !== 0) {
this.panes = [];
}
},
handleTabClick(tab, tabName, event) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment