diff options
| author | shpuld <shp@cock.li> | 2019-02-03 10:13:09 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-02-03 10:13:09 +0200 |
| commit | b614cb94e502f3491afd07e5bcb785ad122cf100 (patch) | |
| tree | 289e82bd2f5667ab773bb838a88dd312bba90edf /src/components/attachment/attachment.js | |
| parent | dbb16d56e29b8a32fb7c1a7af56a7953f571cdb4 (diff) | |
| parent | c7ee2ed83100e40247fc35be8b138befc44175bc (diff) | |
merge develop in
Diffstat (limited to 'src/components/attachment/attachment.js')
| -rw-r--r-- | src/components/attachment/attachment.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 47939852..3b7f08dc 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -57,9 +57,9 @@ const Attachment = { } }, openModal (event) { - const modalTypes = this.$store.state.config.playVideosInline - ? ['image'] - : ['image', 'video'] + const modalTypes = this.$store.state.config.playVideosInModal + ? ['image', 'video'] + : ['image'] if (fileTypeService.fileMatchesSomeType(modalTypes, this.attachment) || this.usePlaceHolder ) { |
