Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
  • Loading branch information
PVince81 and CarlSchwan authored Apr 14, 2022
1 parent 41f05cd commit 45b9ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/OC/dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ const Dialogs = {
modifiedCol: t('core', 'Modified')
}).data('path', path).data('multiselect', multiselect).data('mimetype', mimetypeFilter).data('allowDirectoryChooser', options.allowDirectoryChooser)
if (typeof(options.filter) === 'function') {
self.$filePicker.data('filter', options.filter);
self.$filePicker.data('filter', options.filter)
}

if (modal === undefined) {
Expand Down Expand Up @@ -1148,7 +1148,7 @@ const Dialogs = {
}

if (advancedFilter) {
files = files.filter(advancedFilter);
files = files.filter(advancedFilter)
}

// Check if the showHidden input field exist and if it exist follow it
Expand Down

0 comments on commit 45b9ca5

Please sign in to comment.