We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e4c3c8 + 913af50 commit 4e50c6cCopy full SHA for 4e50c6c
1 file changed
src/views/Settings/Reminders.vue
@@ -179,6 +179,7 @@ export default {
179
this.displaySuccessReminderDaysBefore = false
180
this.displaySuccessReminderDaysBetween = false
181
this.displaySuccessReminderSendTimer = false
182
+ this.loading = true
183
184
await axios.post(generateOcsUrl('/apps/libresign/api/v1/admin/reminder'), {
185
daysBefore: parseInt(this.reminderDaysBefore),
@@ -210,6 +211,12 @@ export default {
210
211
}
212
this.nextRun = response.next_run
213
})
214
+ .catch(() => {
215
+ this.nextRun = null
216
+ })
217
+ .finally(() => {
218
+ this.loading = false
219
220
}, 1000),
221
formatHourMinute(date) {
222
if (!date) {
0 commit comments