We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67006e2 commit 82e4256Copy full SHA for 82e4256
src/pages/workspace/categories/ImportedCategoriesPage.tsx
@@ -92,7 +92,7 @@ function ImportedCategoriesPage({route}: ImportedCategoriesPageProps) {
92
name,
93
enabled: categoriesEnabledColumn !== -1 ? categoriesEnabled?.[containsHeader ? index + 1 : index] === 'true' : true,
94
// eslint-disable-next-line @typescript-eslint/naming-convention
95
- 'GL Code': categoriesGLCodeColumn !== -1 ? categoriesGLCode?.[containsHeader ? index + 1 : index] : '',
+ 'GL Code': categoriesGLCodeColumn !== -1 ? categoriesGLCode?.[containsHeader ? index + 1 : index] ?? '' : '',
96
}));
97
98
if (categories) {
0 commit comments