Files
windmill/frontend/src/lib/components/flows/FlowHistory.svelte
T
Ruben Fiszel 3fbd3ec4f9 fix: tag select in script builder top bar (#6136)
* all

* update

* react 18

* update

* update

* update
2025-07-07 10:27:09 +00:00

38 lines
740 B
Svelte

<script lang="ts">
import Drawer from '../common/drawer/Drawer.svelte'
import DrawerContent from '../common/drawer/DrawerContent.svelte'
import FlowHistoryInner from './FlowHistoryInner.svelte'
interface Props {
path: string
onHistoryRestore?: () => void
}
let { path, onHistoryRestore }: Props = $props()
let drawer: Drawer | undefined = $state()
export function open() {
drawer?.openDrawer()
}
</script>
<Drawer bind:this={drawer} size="1200px">
<DrawerContent
on:close={() => {
drawer?.closeDrawer()
}}
noPadding
title="Deployment History"
>
<FlowHistoryInner
allowFork
onHistoryRestore={() => {
drawer?.closeDrawer()
onHistoryRestore?.()
}}
{path}
/>
</DrawerContent>
</Drawer>