diff --git a/js/src/views/Event/Edit.vue b/js/src/views/Event/Edit.vue
index 06e38968..f58bed17 100644
--- a/js/src/views/Event/Edit.vue
+++ b/js/src/views/Event/Edit.vue
@@ -192,7 +192,7 @@
{{ $t("Status") }}
-
+
@@ -302,6 +302,19 @@ main section > .container {
background: $white;
}
+.save__navbar {
+ /deep/ .navbar-menu,
+ .navbar-end {
+ flex-wrap: wrap;
+ }
+}
+
+@media screen and (max-width: 768px) {
+ .navbar.is-fixed-bottom {
+ position: initial;
+ }
+}
+
h2.subtitle {
margin: 10px 0;
@@ -312,6 +325,14 @@ h2.subtitle {
}
}
+.event__status__field {
+ /deep/ .field.has-addons {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: flex-start;
+ }
+}
+
section {
& > .container {
padding: 2rem 1.5rem;
@@ -489,7 +510,14 @@ export default class EditEvent extends Vue {
this.event.beginsOn = now;
this.event.endsOn = end;
- this.event.organizerActor = this.event.organizerActor || this.currentActor;
+ this.event.organizerActor = this.getDefaultActor();
+ }
+
+ private getDefaultActor() {
+ if (this.event.organizerActor && this.event.organizerActor.id) {
+ return this.event.organizerActor;
+ }
+ return this.currentActor;
}
async mounted(): Promise {