This commit is contained in:
Oscar
2026-06-04 13:42:20 +03:00
parent dd86c564c4
commit 40a281b87e
4 changed files with 46 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
<h2 class="panel-title">
Selected items
</h2>
<span v-if="items.length" class="item-count">{{ items.length }}</span>
<span v-if="total" class="item-count">{{ total }}</span>
</div>
<div class="search-wrap">
<span class="search-icon" aria-hidden="true">
@@ -48,7 +48,7 @@
<circle cx="6" cy="10" r="1.2" />
</svg>
</span>
<span class="item-order">{{ index + 1 }}</span>
<!-- <span class="item-order">{{ index + 1 }}</span> -->
<span class="item-id">{{ item.id }}</span>
<button class="action-btn" title="Remove from selected" @click="emit('deselect', item.id!)">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" aria-hidden="true">
@@ -78,6 +78,7 @@ import { VueDraggableNext } from 'vue-draggable-next'
const props = defineProps<{
items: Item[]
total: number | string
loading: boolean
hasMore: boolean
search: string