gallery now supports flash, fixes for flash component. refactored media modal

This commit is contained in:
Henry Jameson 2021-06-18 02:01:37 +03:00
parent e654fead23
commit 90345f158f
8 changed files with 36 additions and 28 deletions

View file

@ -159,7 +159,7 @@ export default {
mimetype: 'image'
}
this.$store.dispatch('setMedia', [attachment])
this.$store.dispatch('setCurrent', attachment)
this.$store.dispatch('setCurrentMedia', attachment)
},
mentionUser () {
this.$store.dispatch('openPostStatusModal', { replyTo: true, repliedUser: this.user })