Skip to content

Commit 82e4256

Browse files
mountinyOSBotify
authored andcommitted
Merge pull request #48539 from nkdengineer/fix/48535
[CP Staging] fix undefined is displayed for GL code (cherry picked from commit 0742aab) (CP triggered by mountiny)
1 parent 67006e2 commit 82e4256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/workspace/categories/ImportedCategoriesPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function ImportedCategoriesPage({route}: ImportedCategoriesPageProps) {
9292
name,
9393
enabled: categoriesEnabledColumn !== -1 ? categoriesEnabled?.[containsHeader ? index + 1 : index] === 'true' : true,
9494
// eslint-disable-next-line @typescript-eslint/naming-convention
95-
'GL Code': categoriesGLCodeColumn !== -1 ? categoriesGLCode?.[containsHeader ? index + 1 : index] : '',
95+
'GL Code': categoriesGLCodeColumn !== -1 ? categoriesGLCode?.[containsHeader ? index + 1 : index] ?? '' : '',
9696
}));
9797

9898
if (categories) {

0 commit comments

Comments
 (0)