fix: remove leading whitespace

This commit is contained in:
Saqib Ansari 2021-11-26 20:20:38 +05:30
parent a8c75b6862
commit 214d0e367f

View File

@ -47,7 +47,7 @@ frappe.ui.form.on('Service Level Agreement', {
entity: function(frm) {
const field = frm.get_field('entity');
if (frm.doc.entity) {
const and_descendants = frm.doc.entity_type != 'Customer' ? __(' or its descendants') : '';
const and_descendants = frm.doc.entity_type != 'Customer' ? ' ' + __('or its descendants') : '';
field.set_description(
__('SLA will be applied if {1} is set as {2}{3}', [
frm.doc.document_type, frm.doc.entity_type,