rect file selection
This commit is contained in:
@@ -25,10 +25,6 @@ const emit = defineEmits<{
|
||||
|
||||
const { isLoading } = useLoadingIndicator();
|
||||
|
||||
const sortedEntries = computed(() =>
|
||||
entries.toSorted((a, b) => a.name.localeCompare(b.name))
|
||||
);
|
||||
|
||||
function onEntryClicked(entry: DirectoryEntry, event: MouseEvent) {
|
||||
emit('entry-click', entry, event);
|
||||
}
|
||||
@@ -59,8 +55,9 @@ function onEntryDelete(entry: DirectoryEntry, force: boolean) {
|
||||
@back="() => emit('back')"
|
||||
/>
|
||||
<DirectoryEntry
|
||||
v-for="entry in sortedEntries"
|
||||
v-for="(entry, i) in entries"
|
||||
:key="entry.name"
|
||||
:entry-index="i"
|
||||
:entry="entry"
|
||||
:disabled="isLoading || disableEntries"
|
||||
:draggable="entriesDraggable"
|
||||
|
||||
Reference in New Issue
Block a user