style: eslint fix

This commit is contained in:
Faris Ansari 2018-09-05 12:12:43 +05:30 committed by GitHub
parent 29156da481
commit 74741b237f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,8 +118,7 @@ frappe.ui.form.Dashboard = Class.extend({
if (title){
this._progress_map[title].remove();
delete this._progress_map[title];
}
else {
} else {
this._progress_map = {};
this.progress_area.empty();
}