diff options
author | dartcafe <github@dartcafe.de> | 2022-09-21 23:36:07 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-09-21 23:36:07 +0300 |
commit | 5e6d59920f5e4a07a062cc933d0569042ae82720 (patch) | |
tree | cd7888af0f40bc5968a65c93c23011f147bc9af5 /src/js/components/Options | |
parent | 7134eb178c60efe256783ca7e676ca741b75bd56 (diff) |
change button to NcButton
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Options')
-rw-r--r-- | src/js/components/Options/OptionsDateAdd.vue | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/js/components/Options/OptionsDateAdd.vue b/src/js/components/Options/OptionsDateAdd.vue index 248979d2..41f72a0e 100644 --- a/src/js/components/Options/OptionsDateAdd.vue +++ b/src/js/components/Options/OptionsDateAdd.vue @@ -41,18 +41,18 @@ {{ t('polls', 'Select range') }} </NcCheckboxRadioSwitch> <div class="picker-buttons"> - <button v-if="useTime" @click="toggleTimePanel"> + <NcButton v-if="useTime" @click="toggleTimePanel"> {{ showTimePanel ? t('polls', 'Change date') : t('polls', 'Change time') }} - </button> - <button v-if="useTime" @click="removeTime"> + </NcButton> + <NcButton v-if="useTime" @click="removeTime"> {{ t('polls', 'Remove time') }} - </button> - <button v-else :disabled="!dateOption.isValid" @click="addTime"> + </NcButton> + <NcButton v-else :disabled="!dateOption.isValid" @click="addTime"> {{ t('polls', 'Add time') }} - </button> + </NcButton> </div> </template> @@ -62,9 +62,9 @@ {{ dateOption.text }} </div> <FlexSpacer /> - <button v-if="dateOption.option.duration >= 0 && !added" class="primary" @click="addOption"> + <NcButton v-if="dateOption.option.duration >= 0 && !added" type="primary" @click="addOption"> {{ t('polls', 'Add') }} - </button> + </NcButton> <div v-if="added" v-tooltip.auto="t('polls', 'Added')" class="icon-polls-yes" /> </div> <div v-else> |