add media description into media modal

This commit is contained in:
Henry Jameson 2021-08-15 19:45:48 +03:00
parent f5823a96e9
commit 34d265467a
2 changed files with 76 additions and 53 deletions

View file

@ -29,6 +29,9 @@ const MediaModal = {
media () {
return this.$store.state.mediaViewer.media
},
description () {
return this.currentMedia.description
},
currentIndex () {
return this.$store.state.mediaViewer.currentIndex
},