This commit is contained in:
2025-01-11 12:25:13 +01:00
parent 542f941879
commit 9a61a309a7
4 changed files with 26 additions and 2 deletions

View File

@@ -412,6 +412,7 @@ const showFile = (fileId) => {
<td>
<UIcon class="mr-1" :name="entry.type === 'folder' ? 'i-heroicons-folder' : 'i-heroicons-document'"/>
<a
style="cursor: pointer"
:class="[...index === selectedFileIndex ? ['text-primary', 'text-xl'] : ['dark:text-white','text-black','text-xl']]"
@click="entry.type === 'folder' ? changeFolder(currentFolders.find(i => i.id === entry.id)) : showFile(entry.id)"
>{{entry.label}}</a>