)
+ : null,
width: 155,
headerClassName: "d-none d-md-block",
className: "d-none d-md-block",
@@ -67,19 +69,20 @@ export const ListsTable = (props: IProps) => {
filterMethod: (f: any, r: any) =>
r[f.id].map((e: any) => e.name).join().toUpperCase().includes(f.value.toUpperCase()),
sortable: false,
- Cell: (c: any) =>
-
- {c.value.map((e: any, i: number) =>
-
- {e.name}
- )}
-
,
+ Cell: (c: any) => c.value
+ ?
+ {c.value.map((e: any, i: number) =>
+
+ {e.name}
+ )}
+
+ : null,
width: 215,
headerClassName: "d-none d-md-block",
className: "d-none d-md-block",
@@ -102,15 +105,16 @@ export const ListsTable = (props: IProps) => {
)}
,
sortable: false,
- Cell: (c: any) =>
-
- {c.value.map((e: ILanguageDto, i: number) =>
-
- {e.iso6391}
- )}
-
,
+ Cell: (c: any) => c.value
+ ?
+ {c.value.map((e: ILanguageDto, i: number) =>
+
+ {e.iso6391}
+ )}
+
+ : null,
style: { whiteSpace: "inherit" },
width: 95,
headerClassName: "d-none d-md-block",