Merge pull request #719 from pratikb64/default-assigned-to

fix: default "assigned to" in deals and leads list view
This commit is contained in:
Shariq Ansari 2025-04-07 16:44:32 +05:30 committed by GitHub
commit 67378c1f52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

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,

View File

@ -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,