Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 1cdaccb + b2b282f commit 08ae76aCopy full SHA for 08ae76a
‎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