Added Standard File Type in Folders and Made it optional

This commit is contained in:
2025-03-14 18:07:21 +01:00
parent c3fcb83da2
commit aa849f591b
2 changed files with 8 additions and 3 deletions

View File

@@ -375,7 +375,7 @@ const selectAll = () => {
</USelectMenu>
<UButton @click="modal.open(DocumentUploadModal,{fileData: {folder: currentFolder.id}})">+ Datei</UButton>
<UButton @click="modal.open(DocumentUploadModal,{fileData: {folder: currentFolder.id, type: currentFolder.standardFiletype, typeEnabled: currentFolder.standardFiletypeIsOptional}})">+ Datei</UButton>
<UButton
@click="createFolderModalOpen = true"
variant="outline"