Skip to content

Commit 22f20b4

Browse files
authored
Fixed broken filter in contest categories grid (#1628)
Closes SoftUni-Internal/exam-systems-issues#1702 **Summary of the changes made**: 1. Handled case where parent is null 2.
1 parent f1be862 commit 22f20b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Servers/UI/OJS.Servers.Ui/ClientApp/src/pages/administration-new/contest-categories/contestCategoriesGridColumns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const categoriesFilterableColumns: AdministrationGridColDef[] = [
9595
type: 'string',
9696
filterable: false,
9797
sortable: false,
98-
renderCell: (params) => (
98+
renderCell: (params) => params.value && (
9999
<ExternalLink
100100
to={getContestsByCategoryUrl({
101101
categoryId: params.row.parentId,

0 commit comments

Comments
 (0)