fix version

This commit is contained in:
Drew Ansbacher
2022-01-25 09:44:10 -07:00
committed by Drew Ansbacher
parent 1d2d673c3f
commit acfd6ef94d

View File

@@ -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),
),