in src/store/modules/selectors.ts [207:225]
async getProcess(processId: string, isRelation?: boolean) {
if (!processId) {
return;
}
const res = await graphql.query("queryProcess").params({
processId,
});
if (!res.errors) {
if (isRelation) {
this.currentDestProcess = res.data.process || null;
this.destProcesses = [res.data.process];
return res.data;
}
this.currentProcess = res.data.process || null;
this.processes = [res.data.process];
}
return res;
},