diff --git a/packages/web-app-files/src/components/Search/Preview.vue b/packages/web-app-files/src/components/Search/Preview.vue index efe4c337452..137382e9218 100644 --- a/packages/web-app-files/src/components/Search/Preview.vue +++ b/packages/web-app-files/src/components/Search/Preview.vue @@ -14,7 +14,6 @@ :parent-folder-link="parentFolderLink" :parent-folder-name-default="defaultParentFolderName" :is-thumbnail-displayed="displayThumbnails" - @click="$_fileActions_triggerDefaultAction(resource)" /> @@ -72,7 +71,7 @@ export default { attrs() { return this.resource.isFolder ? { - to: this.folderLink(this.resource) + to: this.createFolderLink(this.resource.path, this.resource) } : {} }, diff --git a/packages/web-app-files/src/mixins/actions/downloadFile.js b/packages/web-app-files/src/mixins/actions/downloadFile.js index ae2998a846d..e6d78296b65 100644 --- a/packages/web-app-files/src/mixins/actions/downloadFile.js +++ b/packages/web-app-files/src/mixins/actions/downloadFile.js @@ -5,7 +5,7 @@ import { isLocationSpacesActive } from '../../router' import isFilesAppActive from './helpers/isFilesAppActive' -import isSearchActive from './helpers/isSearchActive' +import isSearchActive from '../helpers/isSearchActive' export default { mixins: [isFilesAppActive, isSearchActive], diff --git a/packages/web-app-files/src/mixins/fileActions.ts b/packages/web-app-files/src/mixins/fileActions.ts index 2ae3c543677..79e1fe2f81f 100644 --- a/packages/web-app-files/src/mixins/fileActions.ts +++ b/packages/web-app-files/src/mixins/fileActions.ts @@ -16,7 +16,7 @@ import Rename from './actions/rename' import Restore from './actions/restore' import kebabCase from 'lodash-es/kebabCase' import { ShareStatus } from 'web-client/src/helpers/share' -import isSearchActive from './actions/helpers/isSearchActive' +import isSearchActive from './helpers/isSearchActive' const actionsMixins = [ 'navigate', diff --git a/packages/web-app-files/src/mixins/actions/helpers/isSearchActive.ts b/packages/web-app-files/src/mixins/helpers/isSearchActive.ts similarity index 100% rename from packages/web-app-files/src/mixins/actions/helpers/isSearchActive.ts rename to packages/web-app-files/src/mixins/helpers/isSearchActive.ts