fix: this var does not exist and should be a member
became apparent during testing when no native platform is returned
This commit is contained in:
parent
fb03a3313a
commit
0ee064fbe1
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export class ClientViewModel extends ViewModel {
|
||||||
this._webPlatform = matchingPlatforms.find(p => isWebPlatform(p));
|
this._webPlatform = matchingPlatforms.find(p => isWebPlatform(p));
|
||||||
this._nativePlatform = matchingPlatforms.find(p => !isWebPlatform(p));
|
this._nativePlatform = matchingPlatforms.find(p => !isWebPlatform(p));
|
||||||
const preferredPlatform = matchingPlatforms.find(p => p === this.preferences.platform);
|
const preferredPlatform = matchingPlatforms.find(p => p === this.preferences.platform);
|
||||||
this._proposedPlatform = preferredPlatform || this._nativePlatform || webPlatform;
|
this._proposedPlatform = preferredPlatform || this._nativePlatform || this._webPlatform;
|
||||||
|
|
||||||
this.openActions = this._createOpenActions();
|
this.openActions = this._createOpenActions();
|
||||||
this.installActions = this._createInstallActions();
|
this.installActions = this._createInstallActions();
|
||||||
|
|
Loading…
Reference in a new issue