mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
fix null error
This commit is contained in:
committed by
Aiden McClelland
parent
e6fb74a800
commit
da7f2f1f99
@@ -71,7 +71,7 @@ export class LiveApiService extends ApiService {
|
||||
}
|
||||
|
||||
async setupEmbassy (setupInfo: SetupEmbassyReq) {
|
||||
if (setupInfo['recovery-source'].type === 'cifs') {
|
||||
if (setupInfo['recovery-source']?.type === 'cifs') {
|
||||
setupInfo['recovery-source'].path = setupInfo['recovery-source'].path.replace('/\\/g', '/')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user