diff --git a/crm/fcrm/doctype/crm_deal/api.py b/crm/fcrm/doctype/crm_deal/api.py
index 7cc776bda..26a88ca68 100644
--- a/crm/fcrm/doctype/crm_deal/api.py
+++ b/crm/fcrm/doctype/crm_deal/api.py
@@ -10,7 +10,7 @@ def get_deal(name):
deal["fields_meta"] = get_fields_meta("CRM Deal")
deal["_form_script"] = get_form_script("CRM Deal")
- deal["_assign"] = get_assigned_users("CRM Deal", deal.name, deal.owner)
+ deal["_assign"] = get_assigned_users("CRM Deal", deal.name)
return deal
diff --git a/crm/fcrm/doctype/crm_lead/api.py b/crm/fcrm/doctype/crm_lead/api.py
index 2ecaf112e..613cbb461 100644
--- a/crm/fcrm/doctype/crm_lead/api.py
+++ b/crm/fcrm/doctype/crm_lead/api.py
@@ -10,5 +10,5 @@ def get_lead(name):
lead["fields_meta"] = get_fields_meta("CRM Lead")
lead["_form_script"] = get_form_script("CRM Lead")
- lead["_assign"] = get_assigned_users("CRM Lead", lead.name, lead.owner)
+ lead["_assign"] = get_assigned_users("CRM Lead", lead.name)
return lead
diff --git a/frontend/src/components/AssignTo.vue b/frontend/src/components/AssignTo.vue
new file mode 100644
index 000000000..1f42df3a0
--- /dev/null
+++ b/frontend/src/components/AssignTo.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
diff --git a/frontend/src/components/Modals/AssignmentModal.vue b/frontend/src/components/Modals/AssignmentModal.vue
index 93edca1b0..2100255d1 100644
--- a/frontend/src/components/Modals/AssignmentModal.vue
+++ b/frontend/src/components/Modals/AssignmentModal.vue
@@ -133,10 +133,6 @@ const addValue = (value) => {
}
function updateAssignees() {
- if (assignees.value.length === 0) {
- error.value = 'Please select at least one assignee'
- return
- }
const removedAssignees = oldAssignees.value
.filter(
(assignee) => !assignees.value.find((a) => a.name === assignee.name),
diff --git a/frontend/src/pages/Deal.vue b/frontend/src/pages/Deal.vue
index 90c9cb93a..6fbc23d40 100644
--- a/frontend/src/pages/Deal.vue
+++ b/frontend/src/pages/Deal.vue
@@ -9,12 +9,11 @@
-
-
-
+
-
-
-
+