mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
if no version passed use version selected
This commit is contained in:
@@ -65,7 +65,8 @@ export class BsDownloaderService{
|
||||
});
|
||||
}
|
||||
|
||||
public async download(bsVersion: BSVersion): Promise<void>{
|
||||
public async download(bsVersion?: BSVersion): Promise<void>{
|
||||
if(!bsVersion){ bsVersion = this.selectedBsVersion$.value; }
|
||||
let username = localStorage.getItem("username");
|
||||
if(!username){
|
||||
const res = await this.modalService.openModal(ModalType.STEAM_LOGIN);
|
||||
|
||||
Reference in New Issue
Block a user