fix: handle undefined env value

This commit is contained in:
Mo
2022-05-31 10:44:23 -05:00
parent ef7166c3d2
commit ef8fc83e36

View File

@@ -60,7 +60,7 @@ export class WebApplication extends SNApplication {
defaultHost: defaultSyncServerHost,
appVersion: deviceInterface.appVersion,
webSocketUrl: webSocketUrl,
supportsFileNavigation: window.enabledUnfinishedFeatures,
supportsFileNavigation: window.enabledUnfinishedFeatures || false,
})
makeObservable(this, {