From 665928efd8e5e8cffc1c34f5ecf894f071b3521d Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 22 Nov 2023 11:29:48 -0500 Subject: [PATCH] Cool simplification thanks to Laila --- .../WorkflowInvocationState/WorkflowStepTitle.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/client/src/components/WorkflowInvocationState/WorkflowStepTitle.vue b/client/src/components/WorkflowInvocationState/WorkflowStepTitle.vue index 8a79ae16c420..1253d73e3e40 100644 --- a/client/src/components/WorkflowInvocationState/WorkflowStepTitle.vue +++ b/client/src/components/WorkflowInvocationState/WorkflowStepTitle.vue @@ -65,10 +65,13 @@ function initStores() { } } -watch(props, () => { - initStores(); -}); -initStores(); +watch( + props, + () => { + initStores(); + }, + { immediate: true } +);