No longer throwing errors and proper limit & slice

This commit is contained in:
piratefinn 2018-01-24 12:51:03 +00:00
parent 9446ef11d4
commit ca2cf0fdab
3 changed files with 10 additions and 10 deletions

View file

@ -94,7 +94,7 @@
<strong>{{ sectorPurchases[i] || 'N/A' }}</strong>
</div>
</li>
<li *ngIf="sectorLetters.length > 10 && disableSectorButton == false" class="divider text-center">
<li *ngIf="sectorLetters.length > sectorLimit && disableSectorButton == false" class="divider text-center">
<button type="button" class="btn btn-sm btn-link text-muted" (click)="loadMore()"><i class="icon-options"></i></button>
</li>
</ul>