diff --git a/hello-data-portal/hello-data-portal-ui/package.json b/hello-data-portal/hello-data-portal-ui/package.json
index 183f1754..921d331c 100644
--- a/hello-data-portal/hello-data-portal-ui/package.json
+++ b/hello-data-portal/hello-data-portal-ui/package.json
@@ -42,7 +42,7 @@
"ngx-pipes": "^3.2.2",
"primeflex": "^3.3.1",
"primeicons": "^6.0.1",
- "primeng": "16.9.1",
+ "primeng": "17.18.12",
"quill": "^1.3.7",
"rxjs": "^7.8.0",
"tslib": "^2.3.0",
diff --git a/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/user-management/user-edit/user-edit.component.ts b/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/user-management/user-edit/user-edit.component.ts
index 83277f24..a11430bb 100644
--- a/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/user-management/user-edit/user-edit.component.ts
+++ b/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/user-management/user-edit/user-edit.component.ts
@@ -193,6 +193,7 @@ export class UserEditComponent extends BaseComponent implements OnInit, OnDestro
}
selectedDashboardsEvent(dashboards: DashboardForUser[], dataDomain: Context) {
+ console.log('selectedDashboardsEvent', dashboards);
this.store.dispatch(setSelectedDashboardForUser({dashboards, contextKey: dataDomain.contextKey as string}));
}
diff --git a/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/users-overview/users-overview.component.html b/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/users-overview/users-overview.component.html
index 687795fe..d43b173c 100644
--- a/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/users-overview/users-overview.component.html
+++ b/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/users-overview/users-overview.component.html
@@ -46,8 +46,8 @@
{{ '@Users overview' | transloco }}
-
+
diff --git a/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/users-overview/users-overview.component.ts b/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/users-overview/users-overview.component.ts
index a86ff0b5..49eedc86 100644
--- a/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/users-overview/users-overview.component.ts
+++ b/hello-data-portal/hello-data-portal-ui/src/app/pages/admin/users-overview/users-overview.component.ts
@@ -100,12 +100,12 @@ export class UsersOverviewComponent extends BaseComponent implements OnInit, OnD
return false;
}
- getTagSeverity(value: string) {
+ getTagSeverity(value: string): "success" | "secondary" | "info" | "warning" | "danger" | "contrast" | undefined {
const valTrimmed = value.trim();
if (valTrimmed.includes('Admin')) {
return 'danger';
}
- return value.trim().startsWith('BI_') ? '' : 'success';
+ return value.trim().startsWith('BI_') ? undefined : 'success';
}
translateValue(value: string): string {
diff --git a/hello-data-portal/hello-data-portal-ui/yarn.lock b/hello-data-portal/hello-data-portal-ui/yarn.lock
index 724bf6b9..1eafdb92 100644
--- a/hello-data-portal/hello-data-portal-ui/yarn.lock
+++ b/hello-data-portal/hello-data-portal-ui/yarn.lock
@@ -7579,10 +7579,10 @@ primeicons@^6.0.1:
resolved "https://registry.npmjs.org/primeicons/-/primeicons-6.0.1.tgz#431fa7c79825934eefd62087d8e1faa6a9e376ad"
integrity sha512-KDeO94CbWI4pKsPnYpA1FPjo79EsY9I+M8ywoPBSf9XMXoe/0crjbUK7jcQEDHuc0ZMRIZsxH3TYLv4TUtHmAA==
-primeng@16.9.1:
- version "16.9.1"
- resolved "https://registry.npmjs.org/primeng/-/primeng-16.9.1.tgz#50ee3ed304633c1c5a8ea155f6c0c8be9de7b85c"
- integrity sha512-dCkvKoV62xDEyeGaEm8B0qncdKWNz4mDU/Camnr27AafaDNGV0lCA29imgJvZPEmJTmC2wDhtedg7Syfwz4UqA==
+primeng@17.18.12:
+ version "17.18.12"
+ resolved "https://registry.npmjs.org/primeng/-/primeng-17.18.12.tgz#7514caf46c2ad087b7c04202ab2013e44166b798"
+ integrity sha512-zElkv9c3209e1j2yNXalfv71gGJeo8c7bUuW3nsvtQZcYsXjdsJvBEhTThVghBdpCUoFYD3cNmTzg3t807cL6A==
dependencies:
tslib "^2.3.0"
|