diff --git a/src/components/Data/Documents/Common/CreateOrUpdate.vue b/src/components/Data/Documents/Common/CreateOrUpdate.vue index 99750be8e..f662289de 100644 --- a/src/components/Data/Documents/Common/CreateOrUpdate.vue +++ b/src/components/Data/Documents/Common/CreateOrUpdate.vue @@ -83,7 +83,7 @@ variant="primary" class="ml-2" :disabled="submitting || !isDocumentValid" - @click="submit" + @click="submit()" > Create @@ -94,7 +94,7 @@ class="ml-2" data-cy="DocumentUpdate-btn" :disabled="submitting || !isDocumentValid" - @click="submit" + @click="submit()" > Update