diff --git a/apps/antalmanac/src/stores/ColumnStore.ts b/apps/antalmanac/src/stores/ColumnStore.ts index 7e346eaa6..850a2514d 100644 --- a/apps/antalmanac/src/stores/ColumnStore.ts +++ b/apps/antalmanac/src/stores/ColumnStore.ts @@ -72,7 +72,7 @@ export const useColumnStore = create((set, get) => { set(() => { const selectedColumns = SECTION_TABLE_COLUMNS.map((column) => columns.includes(column)); const activeColumns = SECTION_TABLE_COLUMNS.filter( - (_, index) => get().enabledColumns[index] && get().selectedColumns[index] + (_, index) => get().enabledColumns[index] && selectedColumns[index] ); return { selectedColumns: selectedColumns, activeColumns: activeColumns }; });