{{ column.header }} |
diff --git a/ogWebconsole/src/app/components/groups/components/client-tab-view/client-tab-view.component.ts b/ogWebconsole/src/app/components/groups/components/client-tab-view/client-tab-view.component.ts
index 1e178cd..9b5f7b9 100644
--- a/ogWebconsole/src/app/components/groups/components/client-tab-view/client-tab-view.component.ts
+++ b/ogWebconsole/src/app/components/groups/components/client-tab-view/client-tab-view.component.ts
@@ -142,7 +142,7 @@ export class ClientTabViewComponent {
loadOrganizationalUnits() {
this.loading = true;
- this.http.get( `${this.baseUrl}/organizational-units?&page=1&itemsPerPage=10000`).subscribe(
+ this.http.get( `${this.baseUrl}/organizational-units?&page=1&itemsPerPage=10`).subscribe(
response => {
this.organizationalUnits = response['hydra:member'];
this.loading = false;
diff --git a/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.css b/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.css
index e4feb8b..b0c2217 100644
--- a/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.css
+++ b/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.css
@@ -12,6 +12,7 @@
display: flex;
justify-content: space-between;
align-items: center;
+ width: 100%;
padding: 0 5px;
box-sizing: border-box;
}
@@ -26,6 +27,10 @@
padding: 5px;
}
+.mat-elevation-z8 {
+ box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
+}
+
.search-select {
flex: 2;
padding: 5px;
diff --git a/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.html b/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.html
index 8f8479b..f11561d 100644
--- a/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.html
+++ b/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.html
@@ -24,7 +24,7 @@
-
+
{{ column.header }} |
diff --git a/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.ts b/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.ts
index 81bb8aa..20829c4 100644
--- a/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.ts
+++ b/ogWebconsole/src/app/components/groups/components/organizational-unit-tab-view/organizational-unit-tab-view.component.ts
@@ -91,7 +91,7 @@ export class OrganizationalUnitTabViewComponent {
this.length = data['hydra:totalItems'];
},
(error) => {
- console.error('Error fetching commands', error);
+ console.error('Error fetching ou', error);
}
);
}
diff --git a/ogWebconsole/src/app/components/groups/groups.component.ts b/ogWebconsole/src/app/components/groups/groups.component.ts
index 8e0e7a7..133e09b 100644
--- a/ogWebconsole/src/app/components/groups/groups.component.ts
+++ b/ogWebconsole/src/app/components/groups/groups.component.ts
@@ -161,7 +161,7 @@ export class GroupsComponent implements OnInit {
this.dataService.getOrganizationalUnits().subscribe(
data => {
this.organizationalUnits = data
- this.loadChildrenAndClients(parent.id);
+ this.loadChildrenAndClients(parent?.id);
},
error => console.error('Error fetching unidades organizativas', error)
);
diff --git a/ogWebconsole/src/app/components/groups/shared/acctions-modal/acctions-modal.component.html b/ogWebconsole/src/app/components/groups/shared/acctions-modal/acctions-modal.component.html
index deaae91..393ae5d 100644
--- a/ogWebconsole/src/app/components/groups/shared/acctions-modal/acctions-modal.component.html
+++ b/ogWebconsole/src/app/components/groups/shared/acctions-modal/acctions-modal.component.html
@@ -1,10 +1,10 @@
Acciones
| |