Merge pull request #1887 from rahulshukla-webkul/development

Issue #1844, Mass Action Crashes the system
This commit is contained in:
Jitendra Singh 2019-12-12 19:07:49 +05:30 committed by GitHub
commit e750145403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -601,10 +601,12 @@
select: function() {
this.allSelected = false;
if(this.dataIds.length == 0)
if (this.dataIds.length == 0) {
this.massActionsToggle = false;
else
this.massActionType = null;
} else {
this.massActionsToggle = true;
}
},
//triggered when master checkbox is clicked
@ -672,6 +674,8 @@
this.massActionsToggle = false;
this.allSelected = false;
this.massActionType = null;
}
}
});