We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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