Update frappe/integrations/doctype/google_contacts/google_contacts.js

Co-Authored-By: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
This commit is contained in:
Himanshu 2019-08-23 15:33:54 +05:30 committed by GitHub
parent 43ce576e49
commit b320318878
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
frappe.ui.form.on('Google Contacts', {
refresh: function(frm) {
if (!frm.doc.enable) {
frm.dashboard.set_headline(__("To use Google Contacts, enable <a href='#Form/Google Settings'>Google Settings</a>."));
frm.dashboard.set_headline(__("To use Google Contacts, enable {0}."), [`<a href='#Form/Google Settings'>${__('Google Settings')}</a>`]);
}
frappe.realtime.on('import_google_contacts', (data) => {