Fix double api call in edit window

This commit is contained in:
2023-05-25 14:47:36 +02:00
parent 794a38da19
commit fff705bc2a
7 changed files with 49 additions and 24 deletions

View File

@@ -75,7 +75,7 @@ const keydown = e => {
class="button button_highlight"
type="submit"
form="{form}"
on:click={() => {dispatch("save"); hide()}}
on:click={hide}
>
<i class="icon">save</i> Save
</button>