Merge pull request #1887 from rahulshukla-webkul/development
Issue #1844, Mass Action Crashes the system
This commit is contained in:
commit
e750145403
|
|
@ -601,10 +601,12 @@
|
||||||
select: function() {
|
select: function() {
|
||||||
this.allSelected = false;
|
this.allSelected = false;
|
||||||
|
|
||||||
if(this.dataIds.length == 0)
|
if (this.dataIds.length == 0) {
|
||||||
this.massActionsToggle = false;
|
this.massActionsToggle = false;
|
||||||
else
|
this.massActionType = null;
|
||||||
|
} else {
|
||||||
this.massActionsToggle = true;
|
this.massActionsToggle = true;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//triggered when master checkbox is clicked
|
//triggered when master checkbox is clicked
|
||||||
|
|
@ -672,6 +674,8 @@
|
||||||
this.massActionsToggle = false;
|
this.massActionsToggle = false;
|
||||||
|
|
||||||
this.allSelected = false;
|
this.allSelected = false;
|
||||||
|
|
||||||
|
this.massActionType = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue