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