Skip to content

Commit caef0d9

Browse files
fix(app): hide inactive user tasks on People/Tasks tab (#2219)
Co-authored-by: chasprowebdev <chasgarciaprowebdev@gmail.com>
1 parent 31025e1 commit caef0d9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

apps/app/src/app/(app)/[orgId]/people/dashboard/components/EmployeesOverview.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export async function EmployeesOverview() {
4747
where: {
4848
organizationId: organizationId,
4949
deactivated: false,
50+
isActive: true,
5051
},
5152
include: {
5253
user: true,

apps/app/src/app/(app)/[orgId]/people/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default async function PeoplePage({ params }: { params: Promise<{ orgId:
4545
where: {
4646
organizationId: orgId,
4747
deactivated: false,
48+
isActive: true,
4849
},
4950
include: {
5051
user: {

0 commit comments

Comments
 (0)