Skip to content

Commit

Permalink
PT-982: Currency list blade is broken (#182)
Browse files Browse the repository at this point in the history
* Rename currency folder
* Fix sonar issues
  • Loading branch information
pushnitsa authored Apr 9, 2021
1 parent b462e39 commit 9c57b09
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ angular.module('virtoCommerce.coreModule.currency')

blade.title = blade.isNew ? 'core.blades.currency-detail.new-title' : data.name;
blade.subtitle = blade.isNew ? 'core.blades.currency-detail.new-subtitle' : 'core.blades.currency-detail.subtitle';
};
}

var formScope;
$scope.setForm = function (form) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function ($scope, currencyApi, bladeNavigationService) {
};
angular.extend(newBlade, bladeData);
bladeNavigationService.showBlade(newBlade, blade);
};
}

$scope.selectNode = function (node) {
blade.setSelectedId(node.code);
Expand Down Expand Up @@ -61,7 +61,7 @@ function ($scope, currencyApi, bladeNavigationService) {
];

// actions on load
blade.title = 'core.blades.currency-list.title',
blade.subtitle = 'core.blades.currency-list.subtitle',
blade.title = 'core.blades.currency-list.title';
blade.subtitle = 'core.blades.currency-list.subtitle';
blade.refresh();
}]);

0 comments on commit 9c57b09

Please sign in to comment.