mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
@@ -10,6 +10,7 @@ import { ApiService } from 'src/app/services/api/embassy-api.service'
|
|||||||
import { PatchDB } from 'patch-db-client'
|
import { PatchDB } from 'patch-db-client'
|
||||||
import { AppRecoverOption } from './to-options.pipe'
|
import { AppRecoverOption } from './to-options.pipe'
|
||||||
import { DataModel } from 'src/app/services/patch-db/data-model'
|
import { DataModel } from 'src/app/services/patch-db/data-model'
|
||||||
|
import { take } from 'rxjs'
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-recover-select',
|
selector: 'app-recover-select',
|
||||||
@@ -22,7 +23,7 @@ export class AppRecoverSelectPage {
|
|||||||
@Input() password!: string
|
@Input() password!: string
|
||||||
@Input() oldPassword?: string
|
@Input() oldPassword?: string
|
||||||
|
|
||||||
readonly packageData$ = this.patch.watch$('package-data')
|
readonly packageData$ = this.patch.watch$('package-data').pipe(take(1))
|
||||||
|
|
||||||
hasSelection = false
|
hasSelection = false
|
||||||
error: string | IonicSafeString = ''
|
error: string | IonicSafeString = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user