add Behavious for preselected bs version to download

This commit is contained in:
MathieuG-P
2022-06-06 23:37:55 +02:00
parent f8f3230a0a
commit 43101decf4
@@ -14,6 +14,8 @@ export class BsDownloaderService{
public readonly currentBsVersionDownload$: BehaviorSubject<BSVersion> = new BehaviorSubject(null);
public readonly downloadProgress$: BehaviorSubject<number> = new BehaviorSubject(0);
public readonly selectedBsVersion$: BehaviorSubject<BSVersion> = new BehaviorSubject(null);
public static getInstance(): BsDownloaderService{
if(!BsDownloaderService.instance){ BsDownloaderService.instance = new BsDownloaderService(); }
return BsDownloaderService.instance;