Skip to content

Commit

Permalink
Merge pull request #21 from tovyblox/feat/tovy-ally
Browse files Browse the repository at this point in the history
Update views.tsx
  • Loading branch information
nickkdoesstuff authored Jan 3, 2023
2 parents e23a9b0 + d8e4ffc commit e64b4a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/workspace/[id]/views.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const getServerSideProps = withPermissionCheckSsr(async ({ params }: GetS

const ims: number[] = [];
allActivity.filter((x: any) => BigInt(x.userId) == user.userid).forEach((s: any) => {
ims.push(s.idleTime)
ims.push(Number(s.idleTime))
})

const sh: any[] = []
Expand All @@ -117,7 +117,7 @@ export const getServerSideProps = withPermissionCheckSsr(async ({ params }: GetS

computedUsers.push({
info: {
userId: user.userid,
userId: Number(user.userid),
username: user.username,
},
book: user.book,
Expand Down

0 comments on commit e64b4a3

Please sign in to comment.