@mastra/playground-ui 5.0.1 → 5.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -6236,7 +6236,7 @@ const useWorkflow = (workflowId, baseUrl) => {
|
|
|
6236
6236
|
Object.values(steps)?.map(async (step) => {
|
|
6237
6237
|
if (!step.workflowId) return step;
|
|
6238
6238
|
const wFlow = await client.getWorkflow(step.workflowId).details();
|
|
6239
|
-
if (!
|
|
6239
|
+
if (!wFlow) return step;
|
|
6240
6240
|
return { ...step, stepGraph: wFlow.stepGraph, stepSubscriberGraph: wFlow.stepSubscriberGraph };
|
|
6241
6241
|
})
|
|
6242
6242
|
);
|