mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 09:35:00 +02:00
Show request comment (#2525)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -152,7 +152,12 @@
|
||||
requested: account._id,
|
||||
status: RequestStatus.Active
|
||||
},
|
||||
(res) => (hasRequests = res.filter((p) => !p.approved.includes(account._id)).length > 0)
|
||||
(res) =>
|
||||
(hasRequests =
|
||||
res.filter(
|
||||
(p) =>
|
||||
p.requested.filter((a) => a === account._id).length > p.approved.filter((a) => a === account._id).length
|
||||
).length > 0)
|
||||
)
|
||||
|
||||
onDestroy(
|
||||
|
||||
Reference in New Issue
Block a user