Merge pull request #718 from pratikb64/default-assigned-to-fix

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

View File

@ -140,6 +140,7 @@ declare module 'vue' {
ListIcon: typeof import('./src/components/Icons/ListIcon.vue')['default']
ListRows: typeof import('./src/components/ListViews/ListRows.vue')['default']
LoadingIndicator: typeof import('./src/components/Icons/LoadingIndicator.vue')['default']
LucidePlus: typeof import('~icons/lucide/plus')['default']
MarkAsDoneIcon: typeof import('./src/components/Icons/MarkAsDoneIcon.vue')['default']
MaximizeIcon: typeof import('./src/components/Icons/MaximizeIcon.vue')['default']
MenuIcon: typeof import('./src/components/Icons/MenuIcon.vue')['default']

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,