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.
1 parent b1c8799 commit f23e901Copy full SHA for f23e901
‎client/packages/lowcoder/src/comps/queries/queryComp.tsx
@@ -688,7 +688,11 @@ const QueryListTmpComp = list(QueryComp);
688
class QueryListComp extends QueryListTmpComp implements BottomResListComp {
689
override reduce(action: CompAction): this {
690
if (isCustomAction<AfterExecuteQueryAction>(action, "afterExecQuery")) {
691
- if (action.path?.length === 1 && !isNaN(parseInt(action.path[0]))) {
+ if (
692
+ action.path?.length === 1
693
+ && !isNaN(parseInt(action.path[0]))
694
+ && action.value.result.success
695
+ ) {
696
const queryIdx = parseInt(action.path[0]);
697
const queryComps = this.getView();
698
const queryName = queryComps?.[queryIdx]?.children.name.getView();
0 commit comments