1
0
forked from test/crm

fix: default assigned to in deals list view

This commit is contained in:
Pratik 2025-04-07 16:31:17 +05:30
parent e6fb77f342
commit 05d7c29977

View File

@ -457,9 +457,6 @@ function parseRows(rows, columns = []) {
}
} else if (row == '_assign') {
let assignees = JSON.parse(deal._assign || '[]')
if (!assignees.length && deal.deal_owner) {
assignees = [deal.deal_owner]
}
_rows[row] = assignees.map((user) => ({
name: user,
image: getUser(user).user_image,