Skip to content

Commit 0f0aa2e

Browse files
authored
Merge pull request #718 from pratikb64/default-assigned-to-fix
fix: default assigned to in leads list view
2 parents 98c80c9 + 05d7c29 commit 0f0aa2e

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

frontend/components.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ declare module 'vue' {
140140
ListIcon: typeof import('./src/components/Icons/ListIcon.vue')['default']
141141
ListRows: typeof import('./src/components/ListViews/ListRows.vue')['default']
142142
LoadingIndicator: typeof import('./src/components/Icons/LoadingIndicator.vue')['default']
143+
LucidePlus: typeof import('~icons/lucide/plus')['default']
143144
MarkAsDoneIcon: typeof import('./src/components/Icons/MarkAsDoneIcon.vue')['default']
144145
MaximizeIcon: typeof import('./src/components/Icons/MaximizeIcon.vue')['default']
145146
MenuIcon: typeof import('./src/components/Icons/MenuIcon.vue')['default']

frontend/src/pages/Deals.vue

-3
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,6 @@ function parseRows(rows, columns = []) {
457457
}
458458
} else if (row == '_assign') {
459459
let assignees = JSON.parse(deal._assign || '[]')
460-
if (!assignees.length && deal.deal_owner) {
461-
assignees = [deal.deal_owner]
462-
}
463460
_rows[row] = assignees.map((user) => ({
464461
name: user,
465462
image: getUser(user).user_image,

frontend/src/pages/Leads.vue

-3
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,6 @@ function parseRows(rows, columns = []) {
480480
}
481481
} else if (row == '_assign') {
482482
let assignees = JSON.parse(lead._assign || '[]')
483-
if (!assignees.length && lead.lead_owner) {
484-
assignees = [lead.lead_owner]
485-
}
486483
_rows[row] = assignees.map((user) => ({
487484
name: user,
488485
image: getUser(user).user_image,

0 commit comments

Comments
 (0)