fix: prevent error of keys when opening large dir

This commit is contained in:
EnixCoda 2018-09-21 22:52:14 +08:00
parent 6593bf6121
commit f4630f0607

View file

@ -211,7 +211,7 @@ const mountExpandingIndicator = dispatch => node => dispatch(({ visibleNodes })
dummyVisibleNodes.nodes.splice(
dummyVisibleNodes.nodes.indexOf(node) + 1,
0,
{ virtual: true, name: 'Loading' },
{ virtual: true, name: 'Loading', path: '-' },
)
return {
visibleNodes: dummyVisibleNodes