From b0be148be687bd36bac93c2c38a0b81e4beba87e Mon Sep 17 00:00:00 2001 From: a Date: Sun, 3 Jul 2022 12:05:59 -0500 Subject: [PATCH] wow --- src/App.vue | 1 + src/components/CharacterInventory.vue | 8 ++++++-- src/components/ColumnCheckbox.vue | 1 - src/components/ColumnCheckboxGroup.vue | 2 -- src/components/Sidebar.vue | 2 -- src/lib/columns.ts | 8 ++++---- src/lib/table.ts | 21 +++++++++++++++------ 7 files changed, 26 insertions(+), 17 deletions(-) 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)