Smoother UI and various other adjustments.

This commit is contained in:
Leo Vasanko
2023-11-05 13:13:32 +00:00
parent 8114d679ef
commit 589e5a682c
75 changed files with 205 additions and 131 deletions

View File

@@ -99,12 +99,18 @@ export const useDocumentStore = defineStore({
})
) {
matched[fullname.slice(1)] = attr // No initial slash on name
if (!--count) throw Error('Too many matches')
}
traverseDir(attr, fullname)
}
}
let count = 100
const matched: any = {}
traverseDir(this.root, '')
try {
traverseDir(this.root, '')
} catch (error: any) {
if (error.message !== 'Too many matches') throw error
}
this.updateTable(matched)
},
setActualDocument(location: string) {