Fix duplicates on edit
This commit is contained in:
parent
8731baa302
commit
8d647ce39b
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ async function onSubmit(formData) {
|
||||||
body: link,
|
body: link,
|
||||||
})
|
})
|
||||||
dialogOpen.value = false
|
dialogOpen.value = false
|
||||||
emit('update:link', newLink)
|
emit('update:link', newLink, 'edit')
|
||||||
if (isEdit) {
|
if (isEdit) {
|
||||||
toast('Link updated successfully')
|
toast('Link updated successfully')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue