Bugfix: Sidebar showing wrong shares

We've fixed a bug where the right sidebar would display wrong shares when being inside a space and opening a file from another space (e.g. via the search results).

https://github.com/owncloud/web/pull/11831
https://github.com/owncloud/web/issues/11787
