auth
This commit is contained in:
@@ -112,6 +112,5 @@ export class CreateKeyComponent {
|
||||
async setEditKey(key: IKey) {
|
||||
this.createForm.patchValue(key as any);
|
||||
this.createForm.controls.cylinder.patchValue(this.cylinders.filter(c => key.cylinder.some(v => v.id == c.id)));
|
||||
console.log(this.createForm.value)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user