Reverse arrays
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-10-31 13:38:27 +01:00
parent ab835e904e
commit 61636b6e3d
4 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,7 @@ export class FeatureListContainerComponent {
let selected = -1; let selected = -1;
let maxMatches =0; let maxMatches =0;
let showItem = true; let showItem = true;
this.featureLists.reverse();
for (let i = 0; i < this.featureLists.length; i++) { for (let i = 0; i < this.featureLists.length; i++) {
let matches=0; let matches=0;
let criteria=0; let criteria=0;

View File

@ -26,6 +26,7 @@ export class FeatureListFeatureContainerComponent {
let selected = -1; let selected = -1;
let maxMatches =0; let maxMatches =0;
this.featureLists.reverse();
for (let i = 0; i < this.featureLists.length; i++) { for (let i = 0; i < this.featureLists.length; i++) {
let matches=0; let matches=0;
let criteria=0; let criteria=0;

View File

@ -27,6 +27,7 @@ export class ItemListItemContainerComponent {
let selected = -1; let selected = -1;
let maxMatches =0; let maxMatches =0;
let showItem = true; let showItem = true;
this.itemComponentList.reverse();
for (let i = 0; i < this.itemComponentList.length; i++) { for (let i = 0; i < this.itemComponentList.length; i++) {
let matches=0; let matches=0;
let criteria=0; let criteria=0;

View File

@ -28,6 +28,7 @@ export class SelectedItemContainerComponent {
let selected = -1; let selected = -1;
let maxMatches =0; let maxMatches =0;
let showItem = true; let showItem = true;
this.selectedItemComponents.reverse();
for (let i = 0; i < this.selectedItemComponents.length; i++) { for (let i = 0; i < this.selectedItemComponents.length; i++) {
let matches=0; let matches=0;
let criteria=0; let criteria=0;