]> source.dussan.org Git - nextcloud-server.git/commit
Fix grid view toggle 34071/head
authorVincent Petry <vincent@nextcloud.com>
Wed, 14 Sep 2022 10:03:13 +0000 (12:03 +0200)
committernextcloud-command <nextcloud-command@users.noreply.github.com>
Wed, 14 Sep 2022 12:52:01 +0000 (12:52 +0000)
commitd939be4a435658bef6e4518d3bd61b848b8b25ae
treebb97ba0073aa81bdf3c05779f778db90e9d7e345
parenta09077cd178e309099e0bd8109eaf2d91fc77a5c
Fix grid view toggle

Move grid view logic to the files app itself because the button does not
belong to any specific file list.

Then inject the grid view state when switching file lists.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
apps/files/js/app.js
apps/files/js/filelist.js