Skip to content

Commit

Permalink
Fix include_nested_invocations passing, drop unused provder method
Browse files Browse the repository at this point in the history
Fixes #17760
  • Loading branch information
mvdbeek committed Mar 18, 2024
1 parent 3ebf8eb commit 50b9c5c
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions client/src/components/Workflow/InvocationsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ export default {
const extraParams = this.ownerGrid ? {} : { include_terminal: false };
if (this.storedWorkflowId) {
extraParams["workflow_id"] = this.storedWorkflowId;
} else {
extraParams["include_nested_invocations"] = false;
}
if (this.historyId) {
extraParams["history_id"] = this.historyId;
Expand Down Expand Up @@ -195,25 +197,6 @@ export default {
methods: {
...mapActions(useHistoryStore, ["loadHistoryById"]),
...mapActions(useWorkflowStore, ["fetchWorkflowForInstanceIdCached"]),
async provider(ctx) {
ctx.root = this.root;
const extraParams = this.ownerGrid ? {} : { include_terminal: false };
if (this.storedWorkflowId) {
extraParams["workflow_id"] = this.storedWorkflowId;
} else {
extraParams["include_nested_invocations"] = false;
}
if (this.historyId) {
extraParams["history_id"] = this.historyId;
}
if (this.userId) {
extraParams["user_id"] = this.userId;
}
const promise = invocationsProvider(ctx, this.setRows, extraParams).catch(this.onError);
const invocationItems = await promise;
this.invocationItems = invocationItems;
return invocationItems;
},
swapRowDetails(row) {
row.toggleDetails();
},
Expand Down

0 comments on commit 50b9c5c

Please sign in to comment.