This commit is contained in:
isUnknown 2024-12-19 19:27:38 +01:00
parent 6d70187cb9
commit c578538fe0
10 changed files with 195 additions and 107 deletions

View file

@ -59,7 +59,7 @@ watch(isOpen, (newValue) => {
openedFile.value = route.query.fileIndex
? dialog.content.files[route.query.fileIndex]
: dialog.content.files[0];
: dialog.content.files.find((file) => file.type === "document");
// Functions
async function validate() {