Skip to content

Commit

Permalink
Merge pull request #1008 from kuzzleio/4-dev
Browse files Browse the repository at this point in the history
fix: update btn trigger replace instead of update
  • Loading branch information
EnzoViry1 authored Dec 3, 2024
2 parents 3c3a181 + ef6d4c3 commit 70aab75
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 70aab75

Please sign in to comment.