Peter Clement
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
7 additions and
4 deletions
-
packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte
-
packages/client/manifest.json
-
packages/client/src/components/app/table/Table.svelte
-
packages/server/src/threads/automation.js
|
|
|
@ -28,7 +28,6 @@ |
|
|
|
let blockComplete |
|
|
|
let showLooping = false |
|
|
|
|
|
|
|
$: rowControl = $automationStore.selectedAutomation.automation.rowControl |
|
|
|
$: showBindingPicker = |
|
|
|
block.stepId === "CREATE_ROW" || block.stepId === "UPDATE_ROW" |
|
|
|
|
|
|
|
@ -256,7 +255,7 @@ |
|
|
|
on:change={toggleFieldControl} |
|
|
|
defaultValue="Use values" |
|
|
|
autoWidth |
|
|
|
value={rowControl ? "Use bindings" : "Use values"} |
|
|
|
value={block.rowControl ? "Use bindings" : "Use values"} |
|
|
|
options={["Use values", "Use bindings"]} |
|
|
|
placeholder={null} |
|
|
|
/> |
|
|
|
|
|
|
|
@ -3007,6 +3007,7 @@ |
|
|
|
"illegalChildren": ["section"], |
|
|
|
"hasChildren": true, |
|
|
|
"showEmptyState": false, |
|
|
|
"info": "Row selection is only compatible with internal or SQL tables", |
|
|
|
"settings": [ |
|
|
|
{ |
|
|
|
"type": "dataProvider", |
|
|
|
@ -3295,6 +3296,7 @@ |
|
|
|
{ |
|
|
|
"section": true, |
|
|
|
"name": "Table", |
|
|
|
"info": "Row selection is only compatible with internal or SQL tables", |
|
|
|
"settings": [ |
|
|
|
{ |
|
|
|
"type": "number", |
|
|
|
|
|
|
|
@ -39,6 +39,8 @@ |
|
|
|
dataProvider?.id, |
|
|
|
ActionTypes.SetDataProviderSorting |
|
|
|
) |
|
|
|
$: table = dataProvider?.datasource?.type === "table" |
|
|
|
|
|
|
|
$: { |
|
|
|
rowSelectionStore.actions.updateSelection( |
|
|
|
$component.id, |
|
|
|
@ -142,7 +144,7 @@ |
|
|
|
{quiet} |
|
|
|
{compact} |
|
|
|
{customRenderers} |
|
|
|
allowSelectRows={!!allowSelectRows} |
|
|
|
allowSelectRows={allowSelectRows && table} |
|
|
|
bind:selectedRows |
|
|
|
allowEditRows={false} |
|
|
|
allowEditColumns={false} |
|
|
|
|
|
|
|
@ -219,7 +219,7 @@ class Orchestrator { |
|
|
|
} |
|
|
|
if ( |
|
|
|
index === parseInt(env.AUTOMATION_MAX_ITERATIONS) || |
|
|
|
index === loopStep.inputs.iterations |
|
|
|
index === parseInt(loopStep.inputs.iterations) |
|
|
|
) { |
|
|
|
this.updateContextAndOutput(loopStepNumber, step, tempOutput, { |
|
|
|
status: AutomationErrors.MAX_ITERATIONS, |
|
|
|
|