mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 08:01:35 +00:00
fix(frontend): disable active interaction to avoid broken state (#2675)
* fix(frontend): disable active interaction to avoid broken state * fix(frontend): id tutorial id
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
>
|
||||
<Cross class="mx-[5px]" size={15} />
|
||||
</button>
|
||||
<div id="flow-editor-insert-module ">
|
||||
<div id="flow-editor-insert-module">
|
||||
{#if !disableAi}
|
||||
<StepGen {index} bind:funcDesc bind:open {close} {modules} />
|
||||
{/if}
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
const tutorial = driver({
|
||||
showProgress: true,
|
||||
allowClose: true,
|
||||
disableActiveInteraction: true,
|
||||
onPopoverRender: (popover, { config, state }) => {
|
||||
if (state.activeIndex == 0) {
|
||||
const skipThisButton = createTutorialButton('Mark this tutorial as completed', () => {
|
||||
|
||||
Reference in New Issue
Block a user