Commit 33a9a202 authored by Jean Rabreau's avatar Jean Rabreau
Browse files

fix bad copy paste

parent e697c561
Pipeline #71580 passed with stages
in 6 minutes and 9 seconds
......@@ -156,9 +156,9 @@ const Item = {
metadata: state => state.current.metadata,
files: state => state.current.mediaFiles,
fileView: state => {
const viewer = state.currentItem.viewer
const viewer = state.current.viewer
return (viewer && viewer.fileId)
? state.currentItem.mediaFiles.find((file) => file.id === viewer.fileId)
? state.current.mediaFiles.find((file) => file.id === viewer.fileId)
: {}
},
isDownloadable: state => state.current.viewer.isDownloadable,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment