Fix event fetch issue on calendar refresh
This commit is contained in:
@@ -352,9 +352,9 @@ export default {
|
||||
|
||||
refresh () {
|
||||
this.refreshing = true
|
||||
this.api().refetchEvents().then(() => {
|
||||
this.key++
|
||||
})
|
||||
new Promise(resolve => resolve(this.api().refetchEvents()))
|
||||
.then(() => this.key++)
|
||||
.catch(() => this.toastErrorHandler(this.$t('notification:page.block.calendar.eventFetchFailed')))
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -79,6 +79,9 @@ namespace:
|
||||
imported: Namespace imported
|
||||
importFailed: Namespace failed to import
|
||||
page:
|
||||
block:
|
||||
calendar:
|
||||
eventFetchFailed: Could not fetch list of events
|
||||
createFailed: Could not create a page
|
||||
cloneFailed: Could not clone this page
|
||||
deleteFailed: Could not delete this page
|
||||
|
||||
Reference in New Issue
Block a user