mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
refactor(patch-db): use PatchDB class declaratively (#1562)
* refactor(patch-db): use PatchDB class declaratively * chore: remove initial source before init * chore: show spinner * fix: show Connecting to Embassy spinner until first connection * fix: switching marketplaces * allow for subscription to end with take when installing a package * update patchdb Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,6 @@ import { ApiService } from '../../services/api/embassy-api.service'
|
||||
import { AppWizardComponent, SlideDefinition } from './app-wizard.component'
|
||||
import { ConfigService } from 'src/app/services/config.service'
|
||||
import { MarketplaceService } from 'src/app/services/marketplace.service'
|
||||
import { first } from 'rxjs/operators'
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class WizardDefs {
|
||||
@@ -45,7 +44,6 @@ export class WizardDefs {
|
||||
id,
|
||||
'version-spec': version ? `=${version}` : undefined,
|
||||
})
|
||||
.pipe(first())
|
||||
.toPromise(),
|
||||
},
|
||||
},
|
||||
@@ -87,7 +85,6 @@ export class WizardDefs {
|
||||
id,
|
||||
'version-spec': version ? `=${version}` : undefined,
|
||||
})
|
||||
.pipe(first())
|
||||
.toPromise(),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user