diff options
| author | Henry Jameson <me@hjkos.com> | 2021-08-15 19:45:48 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-08-15 19:45:48 +0300 |
| commit | 34d265467a77d4e680e3c56c254df7dfb904fc18 (patch) | |
| tree | 2b575501951e92f9d4410b8670b5c7a542216d6e /src/components/media_modal/media_modal.js | |
| parent | f5823a96e970b6936185b7545c68d9401f8b3281 (diff) | |
add media description into media modal
Diffstat (limited to 'src/components/media_modal/media_modal.js')
| -rw-r--r-- | src/components/media_modal/media_modal.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/media_modal/media_modal.js b/src/components/media_modal/media_modal.js index b6919366..2e6aa1e3 100644 --- a/src/components/media_modal/media_modal.js +++ b/src/components/media_modal/media_modal.js @@ -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 }, |
