Skip to content

Commit

Permalink
fix: on creating organization only add website is added
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Nov 30, 2023
1 parent 76b7890 commit d3ea133
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/Modals/OrganizationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ async function callInsertDoc() {
const doc = await call('frappe.client.insert', {
doc: {
doctype: 'CRM Organization',
organization_name: _organization.value.organization_name,
website: _organization.value.website,
..._organization.value,
},
})
doc.name && handleOrganizationUpdate(doc)
Expand Down

0 comments on commit d3ea133

Please sign in to comment.