-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: deleted jobs were showing (#536)
* fix: deleted jobs were showing * minor fix
- Loading branch information
1 parent
b195ae9
commit 24c4771
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ const prisma = new PrismaClient(); | |
|
||
const users = [ | ||
{ id: '1', name: 'Jack', email: '[email protected]' }, | ||
{ id: '2', name: 'Admin', email: '[email protected]', role: Role.ADMIN , onBoard : true }, | ||
{ id: '2', name: 'Admin', email: '[email protected]', role: Role.ADMIN, onBoard: true }, | ||
{ id: '3', name: 'Hr', email: '[email protected]', role: Role.HR }, | ||
]; | ||
|
||
|
@@ -63,6 +63,7 @@ let jobs = [ | |
minSalary: null, | ||
maxSalary: null, | ||
isVerifiedJob: false, | ||
|
||
}, | ||
{ | ||
id: '3', | ||
|
@@ -86,6 +87,7 @@ let jobs = [ | |
minSalary: 90000, | ||
maxSalary: 120000, | ||
isVerifiedJob: true, | ||
deleted: true | ||
}, | ||
{ | ||
id: '4', | ||
|
@@ -134,6 +136,7 @@ let jobs = [ | |
minSalary: 110000, | ||
maxSalary: 150000, | ||
isVerifiedJob: true, | ||
deleted: true | ||
}, | ||
{ | ||
id: '6', | ||
|
@@ -159,6 +162,7 @@ let jobs = [ | |
minSalary: 80000, | ||
maxSalary: 100000, | ||
isVerifiedJob: false, | ||
|
||
}, | ||
{ | ||
id: '7', | ||
|
@@ -183,6 +187,8 @@ let jobs = [ | |
minSalary: 70000, | ||
maxSalary: 90000, | ||
isVerifiedJob: false, | ||
delted: true | ||
|
||
}, | ||
{ | ||
id: '8', | ||
|
@@ -207,6 +213,8 @@ let jobs = [ | |
minSalary: null, | ||
maxSalary: null, | ||
isVerifiedJob: true, | ||
deleted: true | ||
|
||
}, | ||
{ | ||
id: '9', | ||
|
@@ -229,6 +237,7 @@ let jobs = [ | |
minSalary: 100000, | ||
maxSalary: 130000, | ||
isVerifiedJob: true, | ||
|
||
}, | ||
{ | ||
id: '10', | ||
|
@@ -253,6 +262,7 @@ let jobs = [ | |
minSalary: 75000, | ||
maxSalary: 95000, | ||
isVerifiedJob: false, | ||
|
||
}, | ||
{ | ||
id: '11', | ||
|
@@ -274,6 +284,7 @@ let jobs = [ | |
minSalary: 25000, | ||
maxSalary: 50000, | ||
isVerifiedJob: true, | ||
|
||
}, | ||
{ | ||
id: '12', | ||
|
@@ -298,6 +309,7 @@ let jobs = [ | |
minSalary: null, | ||
maxSalary: null, | ||
isVerifiedJob: true, | ||
delted: false | ||
}, | ||
]; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters