fix: make path changeable even if linked to summary

This commit is contained in:
Ruben Fiszel
2023-08-10 00:30:27 +02:00
parent b213b0f07c
commit cb8eb05fc9
2 changed files with 2 additions and 2 deletions

View File

@@ -278,7 +278,7 @@
autofocus
bind:value={script.summary}
placeholder="Short summary to be displayed when listed"
on:keydown={() => {
on:keyup={() => {
if (initialPath == '' && script.summary?.length > 0) {
console.log('FOO')
path?.setName(

View File

@@ -64,7 +64,7 @@
bind:value={$flowStore.summary}
placeholder="Short summary to be displayed when listed"
id="flow-summary"
on:keydown={() => {
on:keyup={() => {
if (initialPath == '' && $flowStore.summary?.length > 0) {
path?.setName(
$flowStore.summary