Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Filter inactive users (#36)

Thomas82e159a0834c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1f00761355..5ea298a74a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+### Added
+
+- Improved the user table of the admin control panel
+
## 0.89.0 - 21.04.2021
### Added
diff --git a/apps/api/src/app/admin/admin.service.ts b/apps/api/src/app/admin/admin.service.ts
index 46a5f01b81..e306288075 100644
--- a/apps/api/src/app/admin/admin.service.ts
+++ b/apps/api/src/app/admin/admin.service.ts
@@ -109,7 +109,12 @@ export class AdminService {
createdAt: true,
id: true
},
- take: 20
+ take: 20,
+ where: {
+ NOT: {
+ Analytics: null
+ }
+ }
});
}
}