Skip to content

Commit

Permalink
BUG / attempting to fix #622
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-ev committed May 25, 2021
1 parent 10a7926 commit 667e0eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions public/src/vue/components/subcomponents/InsertMediaButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,12 @@ export default {
}
this.$nextTick(() => {
this.$root.settings.current_publication.accepted_media_type = accepted_modes;
this.$root.settings.current_publication.accepted_media_type =
accepted_modes;
});
} else {
// this.$root.settings.current_publication.accepted_media_type = [];
}
this.$root.settings.current_publication.accepted_media_type = [];
},
immediate: true,
},
Expand Down

0 comments on commit 667e0eb

Please sign in to comment.