File tree Expand file tree Collapse file tree
web-frontend/modules/automation/components/workflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,9 +166,10 @@ onMove(() => {
166166
167167const editNodeContext = ref (null )
168168const editNodeContextToggle = ref (null )
169+
169170const openEditContext = () => {
170171 if (editNodeContext .value && editNodeContextToggle .value ) {
171- activeNodeContext .value = editNodeContext
172+ activeNodeContext .value = editNodeContext . value
172173 editNodeContext .value .toggle (
173174 editNodeContextToggle .value ,
174175 ' bottom' ,
@@ -179,12 +180,13 @@ const openEditContext = () => {
179180}
180181
181182const replaceNodeContext = ref (null )
183+
182184const openReplaceContext = async () => {
183185 editNodeContext .value .hide ()
184186 // As the target isn't the element that triggered the show of the context it is not
185187 // ignored by the click outside handler and it immediately closes the context
186188 await flushPromises ()
187- activeNodeContext .value = replaceNodeContext
189+ activeNodeContext .value = replaceNodeContext . value
188190 replaceNodeContext .value .toggle (
189191 editNodeContextToggle .value ,
190192 ' bottom' ,
You can’t perform that action at this time.
0 commit comments