Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(frontend:spaces): handle optional error message in notification
johavenfa1cd0858324
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts b/frontend/src/app/applications/spaces/components/spaces-browser.component.tsindex 1edcc3ff..d66cdce2 100644--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts@@ -362,7 +362,7 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroythis.forbiddenResource = e.status === 403this.locationNotFound = e.status === 404this.serverConnectionError = e.status === 0- this.layout.sendNotification('error', 'Files', e.error.message || this.serverConnectionErrorMessage)+ this.layout.sendNotification('error', 'Files', e.error?.message || this.serverConnectionErrorMessage)}this.loading = false}