Skip to content

Commit 3a362b7

Browse files
authored
VCST-3421: fix wrong order in uiScrollDropDown control (#2919)
1 parent 2ddc3d3 commit 3a362b7

File tree

1 file changed

+1
-1
lines changed
  • src/VirtoCommerce.Platform.Web/wwwroot/js/common/directives

1 file changed

+1
-1
lines changed

src/VirtoCommerce.Platform.Web/wwwroot/js/common/directives/uiScroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ angular.module('platformWebApp')
129129
}
130130

131131
function join(newItems, callFilter) {
132-
newItems = _.reject(newItems, x => _.any($scope.items, y => y.id === x.id));
132+
$scope.items = _.reject($scope.items, x => _.any(newItems, y => y.id === x.id));
133133

134134
if (callFilter) {
135135
newItems = filterItems(newItems);

0 commit comments

Comments
 (0)