Skip to content
Snippets Groups Projects
Unverified Commit 3b4afdf5 authored by tusooa's avatar tusooa :zap:
Browse files

Clean up

parent a485ebc2
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ const mediaViewer = {
}
},
actions: {
setMedia ({ commit, dispatch }, attachments) {
setMedia ({ commit }, attachments) {
const media = attachments.filter(attachment => {
const type = fileTypeService.fileType(attachment.mimetype)
return supportedTypes.has(type)
......@@ -31,7 +31,7 @@ const mediaViewer = {
const index = state.media.indexOf(current)
commit('setCurrentMedia', index || 0)
},
closeMediaViewer ({ commit, dispatch }) {
closeMediaViewer ({ commit }) {
commit('close')
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment