mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-09 07:35:13 +00:00
fix(console): initialize provider options (#5520)
fix: provider options initializer
This commit is contained in:
-2
@@ -41,12 +41,10 @@ export class EditDialogComponent implements OnInit {
|
||||
}
|
||||
|
||||
public setCountryCallingCode(): void {
|
||||
console.log(this);
|
||||
let value = (this.dialogForm.controls[this.controlKey]?.value as string) || '';
|
||||
this.countryPhoneCodes.forEach((code) => (value = value.replace(`+${code.countryCallingCode}`, '')));
|
||||
value = value.trim();
|
||||
this.dialogForm.controls[this.controlKey]?.setValue('+' + this.selected?.countryCallingCode + ' ' + value);
|
||||
console.log(this);
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
@@ -198,7 +198,6 @@ export class UserDetailComponent implements OnInit {
|
||||
.generateMachineSecret(this.user.id)
|
||||
.then((resp) => {
|
||||
this.toast.showInfo('USER.TOAST.SECRETGENERATED', true);
|
||||
console.log(resp.clientSecret);
|
||||
this.dialog.open(MachineSecretDialogComponent, {
|
||||
data: {
|
||||
clientId: resp.clientId,
|
||||
|
||||
Reference in New Issue
Block a user