stable

Clone or download

Read-only

Document preview should have its current item stored in vuex

request #13283 Document item should be in the store No functional changes: this patch introduce the way we access to document item in preview views: - actually it's passed by props and we do crappy things to have it reactive everywhere - it will be easier to maintain if item is stored in vuex In order to ease review, I will explode this behaviour in several patchs. Change-Id: I2d69b9537f6b5772c8f3aa960954ca4844a8c45e

Modified Files

Name
M plugins/document/scripts/document/components/Folder/FolderContent.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookDocumentPreview.spec.js +19 −37 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookDocumentPreview.vue +18 −19 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookGlobal.vue +7 −2 Go to diff View file
M plugins/document/scripts/document/store/mutations-global.js +6 −1 Go to diff View file
M plugins/document/scripts/document/store/state.js +1 −0 Go to diff View file