Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #35052

Although the Files app creates the legacy sidebar (details view) it is
then replaced with the newer Vue app sidebar. Due to this ".detailsView"
no longer finds an element and therefore nothing was hidden when
"hideAppSidebar($('.detailsView'))" was called (for example, when
changing to another section).

However, "OC.Apps.hideAppSidebar()" does not properly work either with
the Vue sidebar used in the Files app (once hidden the sidebar is not
shown again). For simplicity, and to avoid any possible side effect in
other apps from changing "OC.Apps.hideAppSidebar", now
"OC.Files.Sidebar.close()" is used instead.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@szaimen szaimen merged commit 5d54165 into stable23 Nov 10, 2022
@szaimen szaimen deleted the backport/35052/stable23 branch November 10, 2022 00:11
@blizzz blizzz mentioned this pull request Nov 21, 2022
8 tasks
@danxuliu
Copy link
Member

/backport to stable22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants