Skip to content

Commit

Permalink
style: use NcButton instead of button
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 Dec 29, 2023
1 parent 247e8aa commit f48c512
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/modules/modals/CreateRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
{{ t('tables', 'Add more') }}
</NcCheckboxRadioSwitch>
</div>
<button v-if="!localLoading" class="primary" :aria-label="t('tables', 'Save row')" :disabled="hasEmptyMandatoryRows" @click="actionConfirm()">
<NcButton v-if="!localLoading" class="primary" :aria-label="t('tables', 'Save row')" :disabled="hasEmptyMandatoryRows" @click="actionConfirm()">
{{ t('tables', 'Save') }}
</button>
</NcButton>
</div>
</div>
</div>
</NcModal>
</template>

<script>
import { NcModal, NcCheckboxRadioSwitch, NcNoteCard } from '@nextcloud/vue'
import { NcModal, NcCheckboxRadioSwitch, NcNoteCard, NcButton } from '@nextcloud/vue'
import { showError, showSuccess } from '@nextcloud/dialogs'
import '@nextcloud/dialogs/dist/index.css'
import { mapGetters } from 'vuex'
Expand All @@ -47,6 +47,7 @@ export default {
ColumnFormComponent,
NcCheckboxRadioSwitch,
NcNoteCard,
NcButton,
},
props: {
showModal: {
Expand Down

0 comments on commit f48c512

Please sign in to comment.