Smoother UI and various other adjustments.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user