update FilesSelector panel selection logic
This commit is contained in:
parent
2b07fe8c4e
commit
6e838ae49a
@ -645,7 +645,8 @@ export default inject(
|
||||
setSelected,
|
||||
} = filesStore;
|
||||
|
||||
const { selection: infoPanelSelection } = auth.infoPanelStore;
|
||||
const { isVisible: infoPanelIsVisible, selection: infoPanelSelection } =
|
||||
auth.infoPanelStore;
|
||||
|
||||
const selections =
|
||||
isMove || isCopy || isRestoreAll || isRestore
|
||||
@ -655,7 +656,7 @@ export default inject(
|
||||
? selection
|
||||
: bufferSelection != null
|
||||
? [bufferSelection]
|
||||
: infoPanelSelection != null
|
||||
: infoPanelIsVisible && infoPanelSelection != null
|
||||
? [infoPanelSelection]
|
||||
: []
|
||||
: [];
|
||||
|
Loading…
Reference in New Issue
Block a user