Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
indexgenerator: fixed bug in visualizing only 8bp rather than 12bp fo…
Browse files Browse the repository at this point in the history
…r libraries
  • Loading branch information
Thomas Manke committed Nov 25, 2020
1 parent df27f00 commit b130f67
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ Ext.define('MainHub.view.indexgenerator.IndexGeneratorController', {
}

if (indexI5.length === 0) {
indexI5Sequence = [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '];
indexI5Sequence = [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',' ', ' ', ' ', ' '];
} else if (indexI5Sequence.length === 6) {
indexI5Sequence = indexI5Sequence.concat([' ', ' ']);
indexI5Sequence = indexI5Sequence.concat([' ', ' ',' ',' ', ' ',' ']);
}

var data = {
Expand All @@ -232,7 +232,7 @@ Ext.define('MainHub.view.indexgenerator.IndexGeneratorController', {
index_i5: { index: indexI5 }
};

for (var i = 0; i < 8; i++) {
for (var i = 0; i < 12; i++) {
data['index_i7_' + (i + 1)] = indexI7Sequence[i];
data['index_i5_' + (i + 1)] = indexI5Sequence[i];
}
Expand Down Expand Up @@ -609,7 +609,7 @@ Ext.define('MainHub.view.indexgenerator.IndexGeneratorController', {
index_i5_id: ''
});

for (var i = 0; i < 8; i++) {
for (var i = 0; i < 12; i++) {
record.set('index_i7_' + (i + 1), '');
record.set('index_i5_' + (i + 1), '');
}
Expand Down

0 comments on commit b130f67

Please sign in to comment.