mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
version spec conformity
This commit is contained in:
committed by
Drew Ansbacher
parent
acfd6ef94d
commit
1829ecc71e
@@ -32,7 +32,7 @@ export class AppListRecComponent {
|
|||||||
readonly installing$ = this.install$.pipe(
|
readonly installing$ = this.install$.pipe(
|
||||||
switchMap(({ id, version }) =>
|
switchMap(({ id, version }) =>
|
||||||
// Mapping each installation to API request
|
// Mapping each installation to API request
|
||||||
from(this.api.installPackage({ id, 'version-spec': version })).pipe(
|
from(this.api.installPackage({ id, 'version-spec': version ? `=${version}` : undefined })).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