mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
fix changig registry
This commit is contained in:
@@ -155,7 +155,7 @@ export class MarketplaceRegistryModal {
|
|||||||
)
|
)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await this.api.setDbValue(['marketplace', 'known-hosts'], filtered)
|
await this.api.setDbValue(['marketplace', 'knownHosts'], filtered)
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
this.errorService.handleError(e)
|
this.errorService.handleError(e)
|
||||||
} finally {
|
} finally {
|
||||||
@@ -173,7 +173,7 @@ export class MarketplaceRegistryModal {
|
|||||||
loader.add(this.loader.open('Changing Registry...').subscribe())
|
loader.add(this.loader.open('Changing Registry...').subscribe())
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await this.api.setDbValue<string>(['marketplace', 'selected-url'], url)
|
await this.api.setDbValue<string>(['marketplace', 'selectedUrl'], url)
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
this.errorService.handleError(e)
|
this.errorService.handleError(e)
|
||||||
} finally {
|
} finally {
|
||||||
@@ -218,7 +218,7 @@ export class MarketplaceRegistryModal {
|
|||||||
loader.closed = false
|
loader.closed = false
|
||||||
loader.add(this.loader.open('Saving...').subscribe())
|
loader.add(this.loader.open('Saving...').subscribe())
|
||||||
|
|
||||||
await this.api.setDbValue(['marketplace', 'known-hosts', url], { name })
|
await this.api.setDbValue(['marketplace', 'knownHosts', url], { name })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user