diff options
author | Louis Chemineau <louis@chmn.me> | 2024-09-16 11:10:31 +0200 |
---|---|---|
committer | Louis <louis@chmn.me> | 2024-09-16 11:18:13 +0200 |
commit | ae70a426ac885985084c759c042ae62ff5091e9f (patch) | |
tree | ca8e37c3780be38f02eb1dde213a458acdcd4651 /dist/files-main.js | |
parent | 32866bc7eefbc33722cbbee7a2550f2ac868da7b (diff) | |
download | nextcloud-server-ae70a426ac885985084c759c042ae62ff5091e9f.tar.gz nextcloud-server-ae70a426ac885985084c759c042ae62ff5091e9f.zip |
feat: Reset route if neither the Viewer of the Sidebar is open
When the viewer or the sidebar is opened, we add the fileid to the route.
When both of them are closed, we do not remove the fileid from the route.
This means that, upon reload, the sidebar will be opened even though it was closed previously.
This PR ensure that the fileid is removed from the route when both the Sidebar and the Viewer are closed.
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'dist/files-main.js')
0 files changed, 0 insertions, 0 deletions