diff --git a/packages/web-app-files/src/mixins/actions/copy.js b/packages/web-app-files/src/mixins/actions/copy.js index c8e9e9c668c..aae3d24e423 100644 --- a/packages/web-app-files/src/mixins/actions/copy.js +++ b/packages/web-app-files/src/mixins/actions/copy.js @@ -29,6 +29,7 @@ export default { if ( !isLocationSpacesActive(this.$router, 'files-spaces-personal') && !isLocationSpacesActive(this.$router, 'files-spaces-project') && + !isLocationSpacesActive(this.$router, 'files-spaces-share') && !isLocationPublicActive(this.$router, 'files-public-files') && !isLocationCommonActive(this.$router, 'files-common-favorites') ) { diff --git a/packages/web-app-files/src/mixins/actions/move.js b/packages/web-app-files/src/mixins/actions/move.js index ea47ed7d059..fe6f8e63667 100644 --- a/packages/web-app-files/src/mixins/actions/move.js +++ b/packages/web-app-files/src/mixins/actions/move.js @@ -30,6 +30,7 @@ export default { if ( !isLocationSpacesActive(this.$router, 'files-spaces-personal') && !isLocationSpacesActive(this.$router, 'files-spaces-project') && + !isLocationSpacesActive(this.$router, 'files-spaces-share') && !isLocationPublicActive(this.$router, 'files-public-files') && !isLocationCommonActive(this.$router, 'files-common-favorites') ) { diff --git a/packages/web-app-files/src/mixins/actions/paste.js b/packages/web-app-files/src/mixins/actions/paste.js index 1bbd84e6efa..c14b37cd5a1 100644 --- a/packages/web-app-files/src/mixins/actions/paste.js +++ b/packages/web-app-files/src/mixins/actions/paste.js @@ -10,7 +10,6 @@ export default { ...mapGetters('Files', ['clipboardResources']), isMacOs() { return window.navigator.platform.match('Mac') - }, getPasteShortcutString() { if (this.isMacOs) { @@ -32,6 +31,7 @@ export default { if ( !isLocationSpacesActive(this.$router, 'files-spaces-personal') && !isLocationSpacesActive(this.$router, 'files-spaces-project') && + !isLocationSpacesActive(this.$router, 'files-spaces-share') && !isLocationPublicActive(this.$router, 'files-public-files') && !isLocationCommonActive(this.$router, 'files-common-favorites') ) {