fix: default "assigned to" in deals and leads list view
This commit is contained in:
parent
7e38d5e405
commit
469a22ef5f
@ -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,
|
||||
|
||||
@ -480,9 +480,6 @@ function parseRows(rows, columns = []) {
|
||||
}
|
||||
} else if (row == '_assign') {
|
||||
let assignees = JSON.parse(lead._assign || '[]')
|
||||
if (!assignees.length && lead.lead_owner) {
|
||||
assignees = [lead.lead_owner]
|
||||
}
|
||||
_rows[row] = assignees.map((user) => ({
|
||||
name: user,
|
||||
image: getUser(user).user_image,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user