[Spaces] Show spaces in left panel #4509

- Prevent crash when logging in
This commit is contained in:
Gil Eluard
2021-07-16 14:20:42 +02:00
parent ca20af2bd2
commit 1275046dcb
2 changed files with 7 additions and 3 deletions
@@ -74,6 +74,9 @@ final class SpaceListViewModel: SpaceListViewModelType {
}
private func loadData() {
guard session.mediaManager != nil else {
return
}
self.update(viewState: .loading)