This commit is contained in:
saberzero1 2024-10-03 22:17:25 +02:00
parent 40ca67c8c6
commit ff9be50a56
No known key found for this signature in database
GPG Key ID: 41AEE99107640F10

View File

@ -68,9 +68,7 @@ export default ((userOpts?: Partial<Options>) => {
// Get all folders of tree. Initialize with collapsed state
// Stringify to pass json tree as data attribute ([data-tree])
const folders = fileTree.getFolderPaths(
opts.folderDefaultState === "collapsed"
)
const folders = fileTree.getFolderPaths(opts.folderDefaultState === "collapsed")
jsonTree = JSON.stringify(folders)
}