mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 17:51:13 -05:00
Refactor: Improve moderator edit badge visibility
This commit is contained in:
@@ -83,9 +83,10 @@ export function ItemReviewCard({ item, onEdit, onStatusChange, submissionId }: I
|
||||
<CardTitle className={isMobile ? "text-sm" : "text-base"}>
|
||||
{item.item_type.replace('_', ' ').toUpperCase()}
|
||||
</CardTitle>
|
||||
{item.original_data && (
|
||||
<Badge variant="outline" className="text-xs">
|
||||
Edited
|
||||
{item.original_data && Object.keys(item.original_data).length > 0 && (
|
||||
<Badge variant="secondary" className="text-xs bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300 border border-blue-300 dark:border-blue-700">
|
||||
<Edit className="w-3 h-3 mr-1" />
|
||||
Moderator Edited
|
||||
</Badge>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user