mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +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
|
// Installing package
|
||||||
readonly installing$ = this.install$.pipe(
|
readonly installing$ = this.install$.pipe(
|
||||||
switchMap(({ id }) =>
|
switchMap(({ id, version }) =>
|
||||||
// Mapping each installation to API request
|
// 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
|
// Mapping operation to true/false loading indication
|
||||||
loading(this.errToast),
|
loading(this.errToast),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user