Skip to content

Commit 6a964ff

Browse files
[Forwardport] Improvements in UI component
- Code refactoring according to Magento code standards
1 parent 55ec6a3 commit 6a964ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Ui/view/base/web/js/grid/massactions.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ define([
175175
* invoked if action is confirmed.
176176
*/
177177
_confirm: function (action, callback) {
178-
var confirmData = action.confirm;
179-
var data = this.getSelections();
180-
var total = data.total ? data.total : 0;
181-
var confirmMessage = confirmData.message + ' (' + total + ' record' + (total > 1 ? 's' : '') + ')';
178+
var confirmData = action.confirm,
179+
data = this.getSelections(),
180+
total = data.total ? data.total : 0,
181+
confirmMessage = confirmData.message + ' (' + total + ' record' + (total > 1 ? 's' : '') + ')';
182182

183183
confirm({
184184
title: confirmData.title,

0 commit comments

Comments
 (0)