Files
windmill/frontend/src/lib/components/flows/CopyFirstStepSchema.svelte
T
Faton Ramadani 5502047474 Refactor flow UI/UX + added fork and create script from inline script (#175)
* Refactor flow UI/UX + added fork and create script from inline script

* Prevent infinite loop when remove steps

* Fix forking a script from the Hub

* Fix viewing code of  a script from the Hub

* Fix PR comments

* Fix code highlight

* Fix path

* Find next available path

* Fix copy first step schema
2022-07-13 11:29:43 +02:00

12 lines
271 B
Svelte

<script lang="ts">
import { copyFirstStepSchema, isCopyFirstStepSchemaDisabled } from './flowStore'
</script>
<button
class="default-secondary-button-v2"
disabled={$isCopyFirstStepSchemaDisabled}
on:click={copyFirstStepSchema}
>
Copy from step 1's schema
</button>