mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
add version-priority to installs
This commit is contained in:
committed by
Aiden McClelland
parent
64e38393df
commit
6789ff5a8c
@@ -32,7 +32,7 @@ export class AppListRecComponent {
|
||||
readonly installing$ = this.install$.pipe(
|
||||
switchMap(({ id, version }) =>
|
||||
// Mapping each installation to API request
|
||||
from(this.api.installPackage({ id, 'version-spec': `=${version}` })).pipe(
|
||||
from(this.api.installPackage({ id, 'version-spec': `>=${version}`, 'version-priority': 'min' })).pipe(
|
||||
// Mapping operation to true/false loading indication
|
||||
loading(this.errToast),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user