Files
windmill/frontend/src/lib/components/tutorials/SkipTutorials.svelte
Faton Ramadani b8ce740a9a fix(frontend): Fix tutorials + Move into itself + Disable app history… (#3181)
* fix(frontend): Fix tutorials + Move into itself + Disable app history for unsaved apps + several toggle fix

* fix(frontend): clean up

* fix(frontend): add missing result for transformer
2024-02-08 15:46:10 +01:00

35 lines
720 B
Svelte

<script lang="ts">
import { createEventDispatcher } from 'svelte'
import Button from '../common/button/Button.svelte'
import { CheckCircle } from 'lucide-svelte'
const dispatch = createEventDispatcher()
</script>
<div class="flex flex-row gap-2 justify-end w-full pt-6 pb-2">
<Button
size="xs"
color="light"
startIcon={{ icon: CheckCircle }}
variant="border"
btnClasses="font-normal"
on:click={() => {
dispatch('skipThis')
}}
>
Mark this tutorial as completed
</Button>
<Button
size="xs"
color="light"
startIcon={{ icon: CheckCircle }}
btnClasses="font-normal"
variant="border"
on:click={() => {
dispatch('skipAll')
}}
>
Mark all tutorials as completed
</Button>
</div>