|
@@ -276,6 +276,7 @@ function addFlowItem() {
|
|
data: {
|
|
data: {
|
|
saveData,
|
|
saveData,
|
|
assignVariable,
|
|
assignVariable,
|
|
|
|
+ waitForSelector: true,
|
|
column: addBlockState.column,
|
|
column: addBlockState.column,
|
|
variableName: addBlockState.varName,
|
|
variableName: addBlockState.varName,
|
|
selector: selectState.list
|
|
selector: selectState.list
|
|
@@ -329,7 +330,7 @@ function selectElementPath(type) {
|
|
: finder(element);
|
|
: finder(element);
|
|
}
|
|
}
|
|
function clearSelectState() {
|
|
function clearSelectState() {
|
|
- if (selectState.list) {
|
|
|
|
|
|
+ if (selectState.list && selectState.listId) {
|
|
addBlock({
|
|
addBlock({
|
|
id: 'loop-breakpoint',
|
|
id: 'loop-breakpoint',
|
|
description: selectState.listId,
|
|
description: selectState.listId,
|