Added File Moving

This commit is contained in:
2025-01-05 21:59:04 +01:00
parent 3a4b1a7a56
commit 639cdb4c1f
2 changed files with 63 additions and 11 deletions

View File

@@ -408,7 +408,7 @@ const showFile = (fileId) => {
</thead>
<tr v-for="(entry,index) in renderedFileList">
<td>
<UIcon :name="entry.type === 'folder' ? 'i-heroicons-folder' : 'i-heroicons-document'"/>
<UIcon class="mr-1" :name="entry.type === 'folder' ? 'i-heroicons-folder' : 'i-heroicons-document'"/>
<a
:class="[...index === selectedFileIndex ? ['text-primary'] : ['dark:text-white','text-black']]"
@click="entry.type === 'folder' ? changeFolder(currentFolders.find(i => i.id === entry.id)) : showFile(entry.id)"