Content-Length: 263392 | pFad | http://github.com/lowcoder-org/lowcoder/commit/08ae76a5e7cf2a4e2bf3687506c6f280913180ab
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;
Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/08ae76a5e7cf2a4e2bf3687506c6f280913180ab
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments