Skip to content

Commit 7917912

Browse files
fix(Reminders): migrate to @nextcloud/vue v9 API
Use the individual component import path for NcDateTimePickerNative instead of the removed barrel export from '@nextcloud/vue'. Replace 'v-model:value' with 'v-model' for NcTextField, since the 'value' prop was renamed to 'modelValue' in @nextcloud/vue v9.0.0. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 9172f5f commit 7917912

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/views/Settings/Reminders.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
:success="displaySuccessReminderDaysBefore"
2929
@keydown.enter="save"
3030
@blur="save" />
31-
<NcTextField v-model:value="reminderDaysBetween"
31+
<NcTextField v-model="reminderDaysBetween"
3232
:label="t('libresign', 'Days between reminders')"
3333
:placeholder="t('libresign', 'Days between reminders')"
3434
type="number"
@@ -38,7 +38,7 @@
3838
:success="displaySuccessReminderDaysBetween"
3939
@keydown.enter="save"
4040
@blur="save" />
41-
<NcTextField v-model:value="reminderMax"
41+
<NcTextField v-model="reminderMax"
4242
:label="t('libresign', 'Max reminders per signer')"
4343
:placeholder="t('libresign', 'Max reminders per signer')"
4444
type="number"
@@ -67,7 +67,7 @@ import Moment from '@nextcloud/moment'
6767
import { generateOcsUrl } from '@nextcloud/router'
6868
import { t } from '@nextcloud/l10n'
6969
70-
import { NcDateTimePickerNative } from '@nextcloud/vue'
70+
import NcDateTimePickerNative from '@nextcloud/vue/components/NcDateTimePickerNative'
7171
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
7272
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
7373
import NcSettingsSection from '@nextcloud/vue/components/NcSettingsSection'

0 commit comments

Comments
 (0)