Restore grid view toggle

Removed in https://github.com/nextcloud/server/pull/29966 and partially restored in https://github.com/nextcloud/server/pull/30452

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2022-05-27 18:03:32 +00:00
parent a9f6cd19a4
commit ba75c61868
5 changed files with 6 additions and 10 deletions

View file

@ -308,14 +308,10 @@ const Dialogs = {
multiselect = false
}
self.$filePicker.find('#picker-view-toggle').remove()
self.$filePicker.find('#picker-filestable').removeClass('view-grid')
$('body').prepend(self.$filePicker)
self.$showGridView = $('input#picker-showgridview')
self.$showGridView.on('change', _.bind(self._onGridviewChange, self))
self._getGridSettings()
var newButton = self.$filePicker.find('.actions.creatable .button-add')

4
dist/core-login.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long