fix sider
diff --git a/erpnext/healthcare/doctype/patient/patient.js b/erpnext/healthcare/doctype/patient/patient.js
index 49478cc..ff237d3 100644
--- a/erpnext/healthcare/doctype/patient/patient.js
+++ b/erpnext/healthcare/doctype/patient/patient.js
@@ -46,11 +46,10 @@
}
},
onload: function (frm) {
- if(!frm.doc.dob){
+ if(!frm.doc.dob) {
$(frm.fields_dict['age_html'].wrapper).html('');
}
-
- if(frm.doc.dob){
+ if(frm.doc.dob) {
$(frm.fields_dict['age_html'].wrapper).html(`${__('AGE')} : ${get_age(frm.doc.dob)}`);
}
}