mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Widget: Fix issue navigating back to month calendar
This commit is contained in:
@@ -820,9 +820,9 @@ Vue.component('pretix-widget-event-form', {
|
||||
this.$root.error = null;
|
||||
this.$root.subevent = null;
|
||||
this.$root.trigger_load_callback();
|
||||
if (this.$root.events !== undefined) {
|
||||
if (this.$root.events !== undefined && this.$root.events !== null) {
|
||||
this.$root.view = "events";
|
||||
} else if (this.$root.days !== undefined) {
|
||||
} else if (this.$root.days !== undefined && this.$root.days !== null) {
|
||||
this.$root.view = "days";
|
||||
} else {
|
||||
this.$root.view = "weeks";
|
||||
|
||||
Reference in New Issue
Block a user