fix: workname

This commit is contained in:
puriphatt 2024-10-30 10:38:55 +07:00
parent b96989b559
commit 5008a5e42b

View file

@ -90,6 +90,7 @@ function mapFlowName(id: string): string {
const targetFlow = workflowData.value.find(
(w) => w.id === attributes.value.workflowId,
);
workName.value = targetFlow?.name || workName.value;
return targetFlow?.name || '';
}