Skip to content

Commit

Permalink
React on code review 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Sep 12, 2022
1 parent fe68190 commit b0c189d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/web-app-files/src/components/Search/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
:parent-folder-link="parentFolderLink"
:parent-folder-name-default="defaultParentFolderName"
:is-thumbnail-displayed="displayThumbnails"
@click="$_fileActions_triggerDefaultAction(resource)"
/>
</oc-button>
</template>
Expand Down Expand Up @@ -72,7 +71,7 @@ export default {
attrs() {
return this.resource.isFolder
? {
to: this.folderLink(this.resource)
to: this.createFolderLink(this.resource.path, this.resource)
}
: {}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web-app-files/src/mixins/actions/downloadFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion packages/web-app-files/src/mixins/fileActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b0c189d

Please sign in to comment.