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 18d3e40 commit b2b282fCopy full SHA for b2b282f
client/packages/lowcoder/src/comps/comps/tabs/tabbedContainerComp.tsx
@@ -407,7 +407,8 @@ class TabbedContainerImplComp extends TabbedContainerBaseComp implements IContai
407
},
408
} as CompAction;
409
}
410
- if (value.type === "delete" && this.children.tabs.getView().length <= 1) {
+ const { path } = action;
411
+ if (value.type === "delete" && path[0] === 'tabs' && this.children.tabs.getView().length <= 1) {
412
messageInstance.warning(trans("tabbedContainer.atLeastOneTabError"));
413
// at least one tab
414
return this;
0 commit comments