Describe the bug
Opening and closing a file from search preview fails on the spaces overview page.
Steps to reproduce
- Upload a text file to your personal space
- Go to "Spaces"
- Open the right sidebar
- Search for the text file
- Open the text file from the search preview
- Close the editor again
Expected behavior
The editor is being closed, everything works as expected.
Actual behavior
The UI basically dies and becomes unusable, console logs space?.canListVersions.