diff --git a/web/src/components/FileSystem/components/Sidebar.vue b/web/src/components/FileSystem/components/Sidebar.vue index d74e070..278aaa8 100644 --- a/web/src/components/FileSystem/components/Sidebar.vue +++ b/web/src/components/FileSystem/components/Sidebar.vue @@ -11,6 +11,9 @@ :key="fav.path" class="sidebar-item" :class="{ + 'sidebar-item-pinned': fav.pinnedAt, + 'sidebar-item-pinned-first': index === firstPinnedIndex, + 'sidebar-item-pinned-last': index === lastPinnedIndex, 'sidebar-item-dragging': config.draggingState.isDragging && config.draggingState.draggedIndex === index, 'sidebar-item-drag-over': config.draggingState.isDragging && config.draggingState.draggedIndex !== index }" @@ -27,8 +30,19 @@ @drop="handleDrop($event, index)" @dragend="handleDragEnd" > - {{ fav.isDir ? '📁' : '📄' }} + {{ getFileIcon(fav) }} {{ fav.name }} + + +