mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
fix version
This commit is contained in:
committed by
Drew Ansbacher
parent
1d2d673c3f
commit
acfd6ef94d
@@ -30,9 +30,9 @@ export class AppListRecComponent {
|
||||
|
||||
// Installing package
|
||||
readonly installing$ = this.install$.pipe(
|
||||
switchMap(({ id }) =>
|
||||
switchMap(({ id, version }) =>
|
||||
// Mapping each installation to API request
|
||||
from(this.api.installPackage({ id })).pipe(
|
||||
from(this.api.installPackage({ id, 'version-spec': version })).pipe(
|
||||
// Mapping operation to true/false loading indication
|
||||
loading(this.errToast),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user