fix: use false explicitly

This commit is contained in:
Shivam Mishra 2020-04-06 14:44:33 +05:30
parent 4b667160a0
commit d92b7ab258

View File

@ -4,7 +4,7 @@
frappe.ui.form.on('Membership Type', {
refresh: function(frm) {
frappe.db.get_single_value("Membership Settings", "enable_razorpay").then(val => {
if (val) frm.set_df_property('razorpay_plan_id', 'hidden', 'false');
if (val) frm.set_df_property('razorpay_plan_id', 'hidden', false);
})
}
});