This commit is contained in:
2025-01-10 15:52:49 +01:00
parent 1ecf89a2b1
commit f6accf0aa7
3 changed files with 8 additions and 7 deletions

View File

@@ -412,14 +412,14 @@ const showFile = (fileId) => {
<td>
<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']]"
: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>
</td>
<td>
<span v-if="entry.type === 'file'">{{dayjs(documents.find(i => i.id === entry.id).created_at).format("DD.MM.YY HH:mm")}}</span>
<span v-if="entry.type === 'folder'">{{dayjs(currentFolders.find(i => i.id === entry.id).created_at).format("DD.MM.YY HH:mm")}}</span>
<span v-if="entry.type === 'file'" class="text-xl">{{dayjs(documents.find(i => i.id === entry.id).created_at).format("DD.MM.YY HH:mm")}}</span>
<span v-if="entry.type === 'folder'" class="text-xl">{{dayjs(currentFolders.find(i => i.id === entry.id).created_at).format("DD.MM.YY HH:mm")}}</span>
</td>
</tr>
</table>
@@ -542,7 +542,7 @@ const showFile = (fileId) => {
}
tr:nth-child(odd) {
background-color: rgba(0, 0, 0, 0.2);
background-color: rgba(0, 0, 0, 0.05);
}
</style>