Complete Fix view work (#2272)
* Fix views * Make view sorts and view filters functional * Complete Company table view fix * Fix model creation * Start fixing board * Complete work
This commit is contained in:
@ -17,12 +17,14 @@ export const useCurrentUserTaskCount = () => {
|
||||
completedAt: { equals: null },
|
||||
...(currentUser
|
||||
? turnFilterIntoWhereClause({
|
||||
key: 'assigneeId',
|
||||
type: 'entity',
|
||||
fieldId: 'assigneeId',
|
||||
value: currentUser.id,
|
||||
operand: ViewFilterOperand.Is,
|
||||
displayValue: currentUser.displayName,
|
||||
displayAvatarUrl: currentUser.avatarUrl ?? undefined,
|
||||
definition: {
|
||||
type: 'entity',
|
||||
},
|
||||
})
|
||||
: {}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user