Skip to content

Commit

Permalink
Merge pull request #48539 from nkdengineer/fix/48535
Browse files Browse the repository at this point in the history
[CP Staging] fix undefined is displayed for GL code
  • Loading branch information
mountiny authored Sep 5, 2024
2 parents 8a35256 + 6430995 commit 0742aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/categories/ImportedCategoriesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function ImportedCategoriesPage({route}: ImportedCategoriesPageProps) {
name,
enabled: categoriesEnabledColumn !== -1 ? categoriesEnabled?.[containsHeader ? index + 1 : index] === 'true' : true,
// eslint-disable-next-line @typescript-eslint/naming-convention
'GL Code': categoriesGLCodeColumn !== -1 ? categoriesGLCode?.[containsHeader ? index + 1 : index] : '',
'GL Code': categoriesGLCodeColumn !== -1 ? categoriesGLCode?.[containsHeader ? index + 1 : index] ?? '' : '',
}));

if (categories) {
Expand Down

0 comments on commit 0742aab

Please sign in to comment.