fix: open dialogs (#5451)

This commit is contained in:
Elio Bischof 2023-03-15 15:40:35 +01:00 committed by GitHub
parent bc116247ea
commit fecd197bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 4 deletions

View File

@ -1,11 +1,9 @@
import { KeyValuePipe } from '@angular/common';
import { Component, Inject, OnInit } from '@angular/core';
import { FormGroup, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
import {
MatLegacyDialogRef as MatDialogRef,
MAT_LEGACY_DIALOG_DATA as MAT_DIALOG_DATA,
} from '@angular/material/legacy-dialog';
import { TranslateService } from '@ngx-translate/core';
import { requiredValidator } from 'src/app/modules/form-field/validators/validators';
import { CountryCallingCodesService, CountryPhoneCode } from 'src/app/services/country-calling-codes.service';
import { formatPhone } from 'src/app/utils/formatPhone';
@ -33,8 +31,6 @@ export class EditDialogComponent implements OnInit {
public dialogRef: MatDialogRef<EditDialogComponent>,
@Inject(MAT_DIALOG_DATA) public data: any,
private countryCallingCodesService: CountryCallingCodesService,
private translateSvc: TranslateService,
private kvPipe: KeyValuePipe,
) {
if (data.type === EditDialogType.PHONE) {
this.isPhone = true;

View File

@ -320,6 +320,7 @@ Errors:
MissingParameters: Benötigte Parameter fehlen
User:
NotFound: Benutzer konnte nicht gefunden werden
AlreadyExists: Benutzer existiert bereits
Inactive: Benutzer ist inaktiv
NotFoundOnOrg: Benutzer konnte in der gewünschten Organisation nicht gefunden werden
NotAllowedOrg: Benutzer gehört nicht der benötigten Organisation an

View File

@ -320,6 +320,7 @@ Errors:
MissingParameters: Required parameters missing
User:
NotFound: User could not be found
AlreadyExists: User already exists
Inactive: User is inactive
NotFoundOnOrg: User could not be found on chosen organisation
NotAllowedOrg: User is no member of the required organisation

View File

@ -320,6 +320,7 @@ Errors:
MissingParameters: Paramètres requis manquants
User:
NotFound: L'utilisateur n'a pas pu être trouvé
AlreadyExists: L'utilisateur existe déjà
Inactive: L'utilisateur est inactif
NotFoundOnOrg: L'utilisateur n'a pas été trouvé dans l'organisation choisie
NotAllowedOrg: L'utilisateur n'est pas membre de l'organisation requise

View File

@ -320,6 +320,7 @@ Errors:
MissingParameters: Mancano i parametri richiesti
User:
NotFound: L'utente non è stato trovato
AlreadyExists: L'utente già esistente
Inactive: L'utente è inattivo
NotFoundOnOrg: L'utente non è stato trovato nell'organizzazione scelta
NotAllowedOrg: L'utente non è membro dell'organizzazione richiesta

View File

@ -320,6 +320,7 @@ Errors:
MissingParameters: Brakujące wymagane parametry
User:
NotFound: Nie znaleziono użytkownika
AlreadyExists: Użytkownik już istnieje
Inactive: Użytkownik jest nieaktywny
NotFoundOnOrg: Nie znaleziono użytkownika w wybranej organizacji
NotAllowedOrg: Użytkownik nie jest członkiem wymaganej organizacji

View File

@ -320,6 +320,7 @@ Errors:
MissingParameters: 缺少必需的参数
User:
NotFound: 找不到用户
AlreadyExists: 用户已存在
Inactive: 用户处于停用状态
NotFoundOnOrg: 在所选组织中找不到用户
NotAllowedOrg: 用户不是所需组织的成员