mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
refactor downstream for 036 changes (#2577)
refactor codebase for 036 changes
This commit is contained in:
@@ -164,7 +164,7 @@ export class CifsComponent {
|
||||
const target: CifsBackupTarget = {
|
||||
...this.form.getRawValue(),
|
||||
mountable: true,
|
||||
'embassy-os': diskInfo,
|
||||
startOs: diskInfo,
|
||||
}
|
||||
|
||||
this.dialogs
|
||||
|
||||
@@ -111,7 +111,7 @@ export class PasswordComponent {
|
||||
}
|
||||
|
||||
try {
|
||||
const passwordHash = this.target!['embassy-os']?.['password-hash'] || ''
|
||||
const passwordHash = this.target!.startOs?.passwordHash || ''
|
||||
|
||||
argon2.verify(passwordHash, this.password.value)
|
||||
this.context.completeWith(this.password.value)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Component, Input } from '@angular/core'
|
||||
import { RouterLink } from '@angular/router'
|
||||
import { RouterModule } from '@angular/router'
|
||||
import {
|
||||
TuiCellModule,
|
||||
TuiIconModule,
|
||||
@@ -37,7 +37,7 @@ import {
|
||||
</span>
|
||||
</a>
|
||||
`,
|
||||
imports: [RouterLink, TuiIconModule, TuiCellModule, TuiTitleModule],
|
||||
imports: [RouterModule, TuiIconModule, TuiCellModule, TuiTitleModule],
|
||||
})
|
||||
export class RecoverComponent {
|
||||
@Input() disabled = false
|
||||
|
||||
Reference in New Issue
Block a user