Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
  • Loading branch information
enjeck committed Jan 8, 2024
1 parent 3c2d495 commit 87c11e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/modules/modals/CreateRow.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<NcModal v-if="showModal" @close="actionCancel" data-cy="createRowModal">
<NcModal v-if="showModal" data-cy="createRowModal" @close="actionCancel">
<div class="modal__content">
<div class="row">
<div class="col-4">
Expand All @@ -24,7 +24,7 @@
{{ t('tables', 'Add more') }}
</NcCheckboxRadioSwitch>
</div>
<NcButton v-if="!localLoading" class="primary" :aria-label="t('tables', 'Save row')" :disabled="hasEmptyMandatoryRows" @click="actionConfirm()" data-cy="createRowSaveButton">
<NcButton v-if="!localLoading" class="primary" :aria-label="t('tables', 'Save row')" :disabled="hasEmptyMandatoryRows" data-cy="createRowSaveButton" @click="actionConfirm()">
{{ t('tables', 'Save') }}
</NcButton>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/modules/modals/EditRow.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<NcModal v-if="showModal" @close="actionCancel" data-cy="editRowModal">
<NcModal v-if="showModal" data-cy="editRowModal" @close="actionCancel">
<div class="modal__content">
<div class="row">
<div class="col-4">
Expand Down Expand Up @@ -32,7 +32,7 @@
</NcButton>
</div>
<NcButton v-if="canUpdateData(activeElement) && !localLoading" :aria-label="t('tables', 'Save')" type="primary"
data-cy="editRowSaveButton"
data-cy="editRowSaveButton"
:disabled="hasEmptyMandatoryRows"
@click="actionConfirm">
{{ t('tables', 'Save') }}
Expand Down

0 comments on commit 87c11e0

Please sign in to comment.