fix: Duplicate action being sent when we click on save contact (#11138)

Fix duplicate save contact action being sent when we click on the
button.
This commit is contained in:
Pranav
2025-03-20 14:36:31 -07:00
committed by GitHub
parent 359b992683
commit 4bce0a5fae

View File

@@ -55,13 +55,13 @@ defineExpose({ dialogRef, contactsFormRef, onSuccess });
@click="closeDialog"
/>
<Button
type="submit"
:label="
t('CONTACTS_LAYOUT.HEADER.ACTIONS.CONTACT_CREATION.SAVE_CONTACT')
"
color="blue"
:disabled="contactsFormRef?.isFormInvalid"
:is-loading="isCreatingContact"
@click="handleDialogConfirm"
/>
</div>
</template>