-
-
-
-
- Insert
-
-
-
-
-
- Settings
-
-
-
-
- {#if $selectedComponent !== undefined}
-
- {:else}
- No component selected.
- {/if}
-
-
-
-
-
-
- {#if $connectingInput.opened}
-
-
-
- Click on the output of the component you want to connect to on the left panel.
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Insert
+
+
+
+
+
+ Settings
+
+
+
+
+ {#if $selectedComponent !== undefined}
+
+ {:else}
+ No component selected.
+ {/if}
+
+
+
+
+
+
+ {#if $connectingInput.opened}
+
+
+
+ Click on the output of the component you want to connect to on the left panel.
+
+
+
-
-
-
- {/if}
-
-
+
+
+ {/if}
+
+
+
{/if}
{:else}
diff --git a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte
index b65323e7c3..be67ac2715 100644
--- a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte
+++ b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte
@@ -2,7 +2,7 @@
import { getContext } from 'svelte'
import type { AppEditorContext } from '../../types'
import SplitPanesWrapper from '$lib/components/splitPanes/SplitPanesWrapper.svelte'
- import { Pane } from 'svelte-splitpanes'
+ import { Pane, Splitpanes } from 'svelte-splitpanes'
import InlineScriptsPanelList from './InlineScriptsPanelList.svelte'
import InlineScriptEditorPanel from './InlineScriptEditorPanel.svelte'
import InlineScriptEditor from './InlineScriptEditor.svelte'
@@ -12,43 +12,45 @@
let selectedScriptComponentId: string | undefined = undefined
-
-
-
-
-
- {#each $lazyGrid as gridComponent, index (index)}
- {#if gridComponent.data.id === selectedScriptComponentId}
-
- {/if}
+
+
+
+
+
+
+ {#each $lazyGrid as gridComponent, index (index)}
+ {#if gridComponent.data.id === selectedScriptComponentId}
+
+ {/if}
- {#if gridComponent.data.type === 'tablecomponent'}
- {#each gridComponent.data.actionButtons as actionButton, index (index)}
- {#if actionButton.id === selectedScriptComponentId}
-
- {/if}
- {/each}
- {/if}
- {/each}
- {#each $app.unusedInlineScripts as unusedInlineScript, index (index)}
- {#if `unused-${index}` === selectedScriptComponentId}
- {
- // remove the script from the array at the index
- $app.unusedInlineScripts.splice(index, 1)
- $app.unusedInlineScripts = [...$app.unusedInlineScripts]
- }}
- />
- {/if}
- {/each}
-
+ {#if gridComponent.data.type === 'tablecomponent'}
+ {#each gridComponent.data.actionButtons as actionButton, index (index)}
+ {#if actionButton.id === selectedScriptComponentId}
+
+ {/if}
+ {/each}
+ {/if}
+ {/each}
+ {#each $app.unusedInlineScripts as unusedInlineScript, index (index)}
+ {#if `unused-${index}` === selectedScriptComponentId}
+ {
+ // remove the script from the array at the index
+ $app.unusedInlineScripts.splice(index, 1)
+ $app.unusedInlineScripts = [...$app.unusedInlineScripts]
+ }}
+ />
+ {/if}
+ {/each}
+
+
diff --git a/frontend/src/lib/components/scriptEditor/LogPanel.svelte b/frontend/src/lib/components/scriptEditor/LogPanel.svelte
index af52dd49de..6e84052106 100644
--- a/frontend/src/lib/components/scriptEditor/LogPanel.svelte
+++ b/frontend/src/lib/components/scriptEditor/LogPanel.svelte
@@ -16,7 +16,7 @@
import DrawerContent from '../common/drawer/DrawerContent.svelte'
import HighlightCode from '../HighlightCode.svelte'
import LogViewer from '../LogViewer.svelte'
- import { Pane } from 'svelte-splitpanes'
+ import { Pane, Splitpanes } from 'svelte-splitpanes'
import SplitPanesWrapper from '../splitPanes/SplitPanesWrapper.svelte'
import { Loader2 } from 'lucide-svelte'
@@ -77,29 +77,31 @@
because SplitPanesWrapper uses the parent element as a reference point.
-->
{#if selectedTab === 'logs'}
-
-
-
-
-
- {#if previewJob != undefined && 'result' in previewJob && previewJob.result != undefined}
-
+
+
+
+
+
+
+ {#if previewJob != undefined && 'result' in previewJob && previewJob.result != undefined}
+
- {:else}
-
- {#if previewIsLoading}
-
- {:else}
- Test to see the result here'
- {/if}
-
- {/if}
-
+ {:else}
+
+ {#if previewIsLoading}
+
+ {:else}
+ Test to see the result here'
+ {/if}
+
+ {/if}
+
+
{/if}
diff --git a/frontend/src/lib/components/splitPanes/SplitPanesWrapper.svelte b/frontend/src/lib/components/splitPanes/SplitPanesWrapper.svelte
index b3b9bcd8cd..0a5d23bb15 100644
--- a/frontend/src/lib/components/splitPanes/SplitPanesWrapper.svelte
+++ b/frontend/src/lib/components/splitPanes/SplitPanesWrapper.svelte
@@ -1,6 +1,5 @@