Merge pull request #268 from ente-io/master
This commit is contained in:
commit
b0eb146680
|
@ -109,7 +109,7 @@ class ExportService {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.ElectronAPIs = runningInBrowser() && window['ElectronAPIs'];
|
this.ElectronAPIs = runningInBrowser() && window['ElectronAPIs'];
|
||||||
this.allElectronAPIsExist = !!this.ElectronAPIs.exists;
|
this.allElectronAPIsExist = !!this.ElectronAPIs?.exists;
|
||||||
}
|
}
|
||||||
async selectExportDirectory() {
|
async selectExportDirectory() {
|
||||||
return await this.ElectronAPIs.selectRootDirectory();
|
return await this.ElectronAPIs.selectRootDirectory();
|
||||||
|
|
Loading…
Reference in a new issue