mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
refactor(storage): swap delete-marker thumbnail icon to Archive
MinusCircle read as "removed / null" — Archive reads closer to the delete-marker's actual role (a placeholder recording that a delete was applied at this point in history).
This commit is contained in:
1 file changed
+2
-2
@@ -1,12 +1,12 @@
|
||||
import dayjs from 'dayjs'
|
||||
import {
|
||||
Archive,
|
||||
Copy,
|
||||
Download,
|
||||
File,
|
||||
Film,
|
||||
Image as ImageIcon,
|
||||
Info,
|
||||
MinusCircle,
|
||||
MoreVertical,
|
||||
Music,
|
||||
RotateCcw,
|
||||
@@ -294,7 +294,7 @@ export const VersionThumbnail = ({
|
||||
>
|
||||
{isCurrent && <RotateCcw size={size} className="text-brand" />}
|
||||
{!isCurrent && isDeleteMarker && (
|
||||
<MinusCircle size={size} className="text-foreground-muted" />
|
||||
<Archive size={size} className="text-foreground-muted" />
|
||||
)}
|
||||
{!isCurrent && !isDeleteMarker && <MimeTypeIcon mimeType={mimeType} size={size} />}
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user