diff --git a/src/app/objects/loot/loot-table-index/loot-table-index.component.css b/src/app/objects/loot/loot-table-index/loot-table-index.component.css index e69de29..6bdc9cb 100644 --- a/src/app/objects/loot/loot-table-index/loot-table-index.component.css +++ b/src/app/objects/loot/loot-table-index/loot-table-index.component.css @@ -0,0 +1,8 @@ +ul { + display: flex; + flex-wrap: wrap; +} + +li { + display: block; +} diff --git a/src/app/objects/loot/loot-table-index/loot-table-index.component.html b/src/app/objects/loot/loot-table-index/loot-table-index.component.html index 9bb49a5..2c1a6c5 100644 --- a/src/app/objects/loot/loot-table-index/loot-table-index.component.html +++ b/src/app/objects/loot/loot-table-index/loot-table-index.component.html @@ -1,8 +1,5 @@ \ No newline at end of file diff --git a/src/app/objects/loot/loot-table-index/loot-table-index.component.ts b/src/app/objects/loot/loot-table-index/loot-table-index.component.ts index 878179d..9ff2dd6 100644 --- a/src/app/objects/loot/loot-table-index/loot-table-index.component.ts +++ b/src/app/objects/loot/loot-table-index/loot-table-index.component.ts @@ -33,11 +33,6 @@ export class LootTableIndexComponent implements OnInit { } processLootTableIndex(lootTable: { loot_table: DB_LootTable[] }) { - console.log(lootTable); - this.loot_table = lootTable.loot_table.sort(this.sortLootTableEntry.bind(this)) - } - - sortLootTableEntry(a, b): number { - return a.sortPriority - b.sortPriority; + this.loot_table = lootTable.loot_table; } } diff --git a/src/app/objects/loot/loot-table/loot-table.component.html b/src/app/objects/loot/loot-table/loot-table.component.html index 478fa9c..4f436ae 100644 --- a/src/app/objects/loot/loot-table/loot-table.component.html +++ b/src/app/objects/loot/loot-table/loot-table.component.html @@ -1,2 +1,3 @@ -

Loot Table ({{id}})

+

Loot Table #{{id}}

+

Highlighted items are mission drops.