Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 74b6e7a8 authored by Sebastian-Ion TINCU's avatar Sebastian-Ion TINCU
Browse files

EDELIVERY-11674 Alerts - UI Improvements

Fix an issue with properties dialog crashing.
parent 1b74d27c
Branches feature/EDELIVERY-11674-alerts-ui-improvements
No related tags found
No related merge requests found
Pipeline #121424 passed with warnings
......@@ -24,9 +24,9 @@ export class ServiceGroupSearchController implements SearchTableController {
newDialog(config): MatDialogRef<any> {
if (config && config.data && config.data.edit) {
return this.edit(config.data);
return this.edit(config);
} else {
return this.showDetails(config.data);
return this.showDetails(config);
}
}
......
......@@ -27,9 +27,9 @@ export class DomainController implements SearchTableController {
newDialog(config): MatDialogRef<any> {
if (config && config.data && config.data.edit) {
return this.edit(config.data);
return this.edit(config);
} else {
return this.showDetails(config.data);
return this.showDetails(config);
}
}
......
......@@ -48,9 +48,9 @@ export class PropertyController implements SearchTableController {
newDialog(config): MatDialogRef<any> {
if (config && config.data && config.data.edit) {
return this.edit(config.data);
return this.edit(config);
} else {
return this.showDetails(config.data);
return this.showDetails(config);
}
}
......
......@@ -35,9 +35,9 @@ export class UserController implements SearchTableController {
}
newDialog(config): MatDialogRef<any> {
if (config && config.data && config.data.edit) {
return this.edit(config.data);
return this.edit(config);
} else {
return this.showDetails(config.data);
return this.showDetails(config);
}
}
public changePasswordDialog(config?: MatDialogConfig): MatDialogRef<PasswordChangeDialogComponent> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment