display folders

This commit is contained in:
m
2026-07-13 16:54:12 +02:00
parent c8f5935469
commit 07b03562b1
10 changed files with 78 additions and 15 deletions
+2 -1
View File
@@ -7,12 +7,13 @@ export interface FileItem {
updatedAt: string;
ocrText?: string;
tags: Tag[];
isFolder: boolean;
parentFileId?: string;
url?: string;
}
export function isFolder(file: FileItem): boolean {
return file.parentFileId != null;
return file.isFolder;
}
export interface Tag {