fix(frontend): background script not showing inputs

This commit is contained in:
Ruben Fiszel
2023-03-02 17:54:05 +01:00
parent a43139fe53
commit 55eb48c553
3 changed files with 14 additions and 7 deletions
@@ -95,6 +95,8 @@
id={`bg_${index}`}
bind:inlineScript={hiddenInlineScript.inlineScript}
bind:name={hiddenInlineScript.name}
bind:fields={hiddenInlineScript.fields}
syncFields
on:delete={() => {
// remove the script from the array at the index
$app.hiddenInlineScripts.splice(index, 1)