diff --git a/src/App.vue b/src/App.vue index 056cdba..0269914 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,6 +50,7 @@ import Sidebar from "./components/Sidebar.vue"; border-bottom: 1px white !important; background-color: #F7F7F7 !important; vertical-align: middle !important; + text-align: left !important; } .handsontable tr { border-radius: 10px !important; diff --git a/src/components/CharacterInventory.vue b/src/components/CharacterInventory.vue index d8d987f..e655dce 100644 --- a/src/components/CharacterInventory.vue +++ b/src/components/CharacterInventory.vue @@ -16,7 +16,11 @@ const updateTable = ():TableRecipe | undefined => { if (invs.value.has(activeTable.value)) { const chardat = invs.value.get(activeTable.value) if (chardat) { - const it = new InventoryTable(chardat, { columns: columns.value, tags: tags.value }) + const it = new InventoryTable(chardat, { + columns: columns.value, + tags: tags.value, + accounts: Array.from(invs.value.keys()), + } as InventoryTableOptions) const hot = (hotTableComponent.value.hotInstance as Handsontable) const build = it.BuildTable() hot.updateSettings(build.settings) @@ -41,7 +45,7 @@ log.debug(`${dirty.value} rendering inventory`, activeTable.value)