1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-06 01:24:52 +02:00

ItemTile: show tag for item in fileMode

This commit is contained in:
Kushagra Gour 2018-10-08 00:44:53 +05:30
parent 2d09be9411
commit b1347690ad

View File

@ -49,6 +49,14 @@ export function ItemTile({
</div>
) : null}
<h3 class="saved-item-tile__title">{item.title}</h3>
{item.files ? (
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<path
fill="currentColor"
d="M15,7H20.5L15,1.5V7M8,0H16L22,6V18A2,2 0 0,1 20,20H8C6.89,20 6,19.1 6,18V2A2,2 0 0,1 8,0M4,4V22H20V24H4A2,2 0 0,1 2,22V4H4Z"
/>
</svg>
) : null}
</div>
{item.updatedOn ? (
<div class="saved-item-tile__meta">