fix: Progress bar style
This commit is contained in:
parent
39154e5296
commit
c9209237da
@ -43,7 +43,7 @@ frappe.ui.form.on('Fee Schedule', {
|
||||
frm.reload_doc();
|
||||
}
|
||||
if (data.progress) {
|
||||
let progress_bar = $(cur_frm.dashboard.progress_area).find('.progress-bar');
|
||||
let progress_bar = $(cur_frm.dashboard.progress_area.body).find('.progress-bar');
|
||||
if (progress_bar) {
|
||||
$(progress_bar).removeClass('progress-bar-danger').addClass('progress-bar-success progress-bar-striped');
|
||||
$(progress_bar).css('width', data.progress+'%');
|
||||
|
Loading…
Reference in New Issue
Block a user