diff --git a/crm/lead_syncing/doctype/lead_sync_source/lead_sync_source.py b/crm/lead_syncing/doctype/lead_sync_source/lead_sync_source.py index 44dfb99a..7afe756f 100644 --- a/crm/lead_syncing/doctype/lead_sync_source/lead_sync_source.py +++ b/crm/lead_syncing/doctype/lead_sync_source/lead_sync_source.py @@ -36,8 +36,8 @@ class LeadSyncSource(Document): def before_save(self): if self.type == "Facebook" and self.access_token: - fetch_and_store_pages_from_facebook(self.access_token) - pass + # fetch_and_store_pages_from_facebook(self.access_token) + pass @frappe.whitelist() def sync_leads(self): diff --git a/frontend/src/components/Settings/EmailAdd.vue b/frontend/src/components/Settings/EmailAdd.vue index b4f13e54..42899c45 100644 --- a/frontend/src/components/Settings/EmailAdd.vue +++ b/frontend/src/components/Settings/EmailAdd.vue @@ -18,7 +18,7 @@ @click="handleSelect(s)" > diff --git a/frontend/src/components/Settings/EmailEdit.vue b/frontend/src/components/Settings/EmailEdit.vue index 09cbe6b2..a0e0ecdc 100644 --- a/frontend/src/components/Settings/EmailEdit.vue +++ b/frontend/src/components/Settings/EmailEdit.vue @@ -9,7 +9,7 @@
diff --git a/frontend/src/components/Settings/EmailProviderIcon.vue b/frontend/src/components/Settings/EmailProviderIcon.vue index 047ee8ce..99681e1f 100644 --- a/frontend/src/components/Settings/EmailProviderIcon.vue +++ b/frontend/src/components/Settings/EmailProviderIcon.vue @@ -5,8 +5,8 @@ > -

- {{ serviceName }} +

+ {{ label }}

@@ -16,7 +16,7 @@ defineProps({ type: String, required: true, }, - serviceName: { + label: { type: String, default: '', }, diff --git a/frontend/src/components/Settings/LeadSyncing/LeadSyncSourcePage.vue b/frontend/src/components/Settings/LeadSyncing/LeadSyncSourcePage.vue index cead8bb4..87eaad60 100644 --- a/frontend/src/components/Settings/LeadSyncing/LeadSyncSourcePage.vue +++ b/frontend/src/components/Settings/LeadSyncing/LeadSyncSourcePage.vue @@ -1,18 +1,20 @@ \ No newline at end of file diff --git a/frontend/src/components/Settings/LeadSyncing/NewLeadSyncSource.vue b/frontend/src/components/Settings/LeadSyncing/NewLeadSyncSource.vue index 41a40c8d..1c693e5f 100644 --- a/frontend/src/components/Settings/LeadSyncing/NewLeadSyncSource.vue +++ b/frontend/src/components/Settings/LeadSyncing/NewLeadSyncSource.vue @@ -1 +1,52 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/frontend/src/components/Settings/LeadSyncing/leadSyncSourceConfig.js b/frontend/src/components/Settings/LeadSyncing/leadSyncSourceConfig.js new file mode 100644 index 00000000..a089dfca --- /dev/null +++ b/frontend/src/components/Settings/LeadSyncing/leadSyncSourceConfig.js @@ -0,0 +1,11 @@ +import LogoFacebook from '@/images/facebook.png' + + +export const supportedSourceTypes = [ + { + name: 'Facebook', + icon: LogoFacebook, + link: 'https://support.google.com/accounts/answer/185833', + custom: false, + } +] \ No newline at end of file diff --git a/frontend/src/images/facebook.png b/frontend/src/images/facebook.png new file mode 100644 index 00000000..03056266 Binary files /dev/null and b/frontend/src/images/facebook.png differ