Skip to content

Commit

Permalink
Merge pull request #1007 from kuzzleio/fix/update-btn-trigger-replace
Browse files Browse the repository at this point in the history
fix: update btn trigger replace instead of update
  • Loading branch information
EnzoViry1 authored Nov 27, 2024
2 parents c62ec80 + f415e9a commit ef6d4c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Data/Documents/Common/CreateOrUpdate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
variant="primary"
class="ml-2"
:disabled="submitting || !isDocumentValid"
@click="submit"
@click="submit()"
>
<i class="fa fa-plus-circle left" />
Create
Expand All @@ -94,7 +94,7 @@
class="ml-2"
data-cy="DocumentUpdate-btn"
:disabled="submitting || !isDocumentValid"
@click="submit"
@click="submit()"
>
<i class="fa fa-pencil-alt left" />
Update
Expand Down

0 comments on commit ef6d4c3

Please sign in to comment.