From 232736d8da02bfde8224aa39888f7e920816065c Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Fri, 11 Sep 2020 13:22:43 +0200 Subject: [PATCH] Fix opening events from search Signed-off-by: Georg Ehrke --- src/mixins/EditorMixin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mixins/EditorMixin.js b/src/mixins/EditorMixin.js index 901e25149..9d620d997 100644 --- a/src/mixins/EditorMixin.js +++ b/src/mixins/EditorMixin.js @@ -625,6 +625,7 @@ export default { const closeToDate = dateFactory() // TODO: can we replace this by simply returning the new route since we are inside next() // Probably not though, because it's async + await vm.loadingCalendars() const recurrenceId = await vm.$store.dispatch('resolveClosestRecurrenceIdForCalendarObject', { objectId, closeToDate }) const params = Object.assign({}, vm.$route.params, { recurrenceId }) vm.$router.replace({ name: vm.$route.name, params })