forked from tsai/budibase
5 changed files with 6 additions and 37 deletions
@ -1,25 +0,0 @@ |
|||
<script> |
|||
import { automationStore } from "builderStore" |
|||
|
|||
import { ModalContent, Toggle } from "@budibase/bbui" |
|||
|
|||
$: rowControl = $automationStore.selectedAutomation.automation.rowControl |
|||
async function toggleFieldControl(evt) { |
|||
await automationStore.actions.toggleFieldControl(evt.detail) |
|||
await automationStore.actions.save( |
|||
$automationStore.selectedAutomation?.automation |
|||
) |
|||
} |
|||
</script> |
|||
|
|||
<ModalContent |
|||
title="Automation Configuration" |
|||
showConfirmButton={false} |
|||
showCancelButton={false} |
|||
> |
|||
<Toggle |
|||
bind:value={rowControl} |
|||
on:change={toggleFieldControl} |
|||
text="Row Control" |
|||
/> |
|||
</ModalContent> |
|||
Loading…
Reference in new issue