mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Default to grid
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
07224da3d4
commit
184c1b03e3
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ $config = \OC::$server->getConfig();
|
|||
$userSession = \OC::$server->getUserSession();
|
||||
// TODO: move this to the generated config.js
|
||||
$publicUploadEnabled = $config->getAppValue('core', 'shareapi_allow_public_upload', 'yes');
|
||||
$showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', false);
|
||||
$showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', true);
|
||||
|
||||
// renders the controls and table headers template
|
||||
$tmpl = new OCP\Template('files', 'list', '');
|
||||
|
|
|
|||
Loading…
Reference in a new issue