File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/ui/client/composables/explorer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ function traverseReceivedFiles(collect: boolean) {
214214 continue
215215 }
216216 createOrUpdateFileNode ( file , collect )
217- createOrUpdateEntry ( Array . from ( entries ) . map ( id => idMap . get ( id ) ) . filter ( Boolean ) as Task [ ] )
217+ createOrUpdateEntry ( Array . from ( entries , id => idMap . get ( id ) ) . filter ( Boolean ) as Task [ ] )
218218 }
219219}
220220
@@ -303,7 +303,7 @@ function collectData(
303303) {
304304 const idMap = client . state . idMap
305305 const filesMap = new Map ( explorerTree . root . tasks . filter ( f => idMap . has ( f . id ) ) . map ( f => [ f . id , f ] ) )
306- const useFiles = Array . from ( filesMap . values ( ) ) . map ( file => [ file . id , findById ( file . id ) ] as const )
306+ const useFiles = Array . from ( filesMap . values ( ) , file => [ file . id , findById ( file . id ) ] as const )
307307 const data = {
308308 files : filesMap . size ,
309309 time : time > 1000 ? `${ ( time / 1000 ) . toFixed ( 2 ) } s` : `${ Math . round ( time ) } ms` ,
You can’t perform that action at this time.
0 commit comments