File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,6 @@ class ViewSettingsDialog extends UI5Element {
416
416
return {
417
417
text : item . text ,
418
418
selected : item . selected ,
419
- associatedItem : item ,
420
419
index,
421
420
} ;
422
421
} ) ;
@@ -565,8 +564,7 @@ class ViewSettingsDialog extends UI5Element {
565
564
sortDescending = ! this . _currentSettings . sortOrder [ 0 ] . selected ,
566
565
sortBy = _currentSortBySelected && _currentSortBySelected . text ,
567
566
sortByElementIndex = _currentSortBySelected && _currentSortBySelected . index ,
568
- initSortIByItem = this . initSortByItems . find ( ( item , index ) => index === sortByElementIndex ) ,
569
- sortByItem = initSortIByItem && initSortIByItem . associatedItem ;
567
+ sortByItem = this . sortItems [ sortByElementIndex ] ;
570
568
return {
571
569
sortOrder,
572
570
sortDescending,
You can’t perform that action at this time.
0 commit comments