+ {record.status !== "Done" && (
+
+ {record.is_pinned ? (
+
+ )}
+
+ );
+ },
+ },
+ ];
+
+ // Oxirida ustunlar massivini yaratamiz
+ // Agar is_active false bo‘lgan yozuvlar bor bo‘lsa, archivedColumn qo‘shiladi
+ const columns: any = hasInactive
+ ? [...baseColumns, archivedColumn, ...otherColumns]
+ : [...baseColumns, ...otherColumns];
+
return (