diff --git a/ogWebconsole/src/app/components/groups/groups.component.html b/ogWebconsole/src/app/components/groups/groups.component.html index 4dc1d5d..51b2cc0 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.html +++ b/ogWebconsole/src/app/components/groups/groups.component.html @@ -5,39 +5,56 @@

Grupos

- + Unidad organizativa - -
+ apartment {{ unidad.nombre }} -
+ + + edit + delete +
- + {{ breadcrumb.join(' > ') }} - +
- - apartment - - - - - - {{ child.name || child.nombre }} + + apartment + + + + + + + + + + + + + + {{ child.name || child.nombre }} edit @@ -48,4 +65,4 @@ -
+
\ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/groups.component.ts b/ogWebconsole/src/app/components/groups/groups.component.ts index 340a751..19c3970 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.ts +++ b/ogWebconsole/src/app/components/groups/groups.component.ts @@ -83,7 +83,8 @@ export class GroupsComponent implements OnInit { // Aquí puedes agregar lógica adicional para eliminar el elemento si es necesario } - onEditClick(uuid: string): void { + onEditClick(type: any, uuid: string): void { + console.log('Tipo del elemento a editar:', type); console.log('UUID del elemento a editar:', uuid); // Aquí puedes agregar lógica adicional para editar el elemento si es necesario }