- {images[row.id].slice(0, images[row.id].length > 5 ? 5 : images[row.id].length).map((img) => (
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ ) : (
+ <>
+ {data?.filter(filterFunction).map((row, index) => (
+
+
+
+
-
-
- ))}
- {images[row.id].length > 5 && (
-
- + {images[row.id].length - 5} More
+
+ {row.templateName || row.name}
+
+
+
+
+
+
+ {row.category &&
+ row.category
+ .split(';')
+ .map((tag, index) => (
+
+ ))}
+
+
+
+ {images[row.id] && (
+
+ {images[row.id]
+ .slice(0, images[row.id].length > 5 ? 5 : images[row.id].length)
+ .map((img) => (
+
+
+
+ ))}
+ {images[row.id].length > 5 && (
+
+ + {images[row.id].length - 5} More
+
+ )}
+
)}
-
- )}
-