mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
wiz cifs
This commit is contained in:
committed by
Aiden McClelland
parent
c8719061e4
commit
29167b7840
@@ -38,7 +38,15 @@ export class CifsModal {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const embassyOS = await this.apiService.verifyCifs(this.cifs)
|
const embassyOS = await this.apiService.verifyCifs(this.cifs)
|
||||||
this.presentModalPassword(embassyOS)
|
const is02x = embassyOS.version.startsWith('0.2')
|
||||||
|
|
||||||
|
if (is02x) {
|
||||||
|
this.modalController.dismiss({
|
||||||
|
cifs: this.cifs,
|
||||||
|
}, 'success')
|
||||||
|
} else {
|
||||||
|
this.presentModalPassword(embassyOS)
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.presentAlertFailed()
|
this.presentAlertFailed()
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user