fix allElectronAPIsExist for import service
This commit is contained in:
parent
37a3d551bf
commit
3f405de8a0
|
@ -8,7 +8,7 @@ class ImportService {
|
|||
|
||||
constructor() {
|
||||
this.ElectronAPIs = runningInBrowser() && window['ElectronAPIs'];
|
||||
this.allElectronAPIsExist = !!this.ElectronAPIs?.exists;
|
||||
this.allElectronAPIsExist = !!this.ElectronAPIs?.getPendingUploads;
|
||||
}
|
||||
|
||||
async showUploadFilesDialog(): Promise<ElectronFile[]> {
|
||||
|
|
Loading…
Reference in a new issue