added infoPanel selection reloading after rename event
This commit is contained in:
parent
c1b4b740f8
commit
d0d2552515
@ -21,6 +21,7 @@ const RenameEvent = ({
|
|||||||
|
|
||||||
editCompleteAction,
|
editCompleteAction,
|
||||||
clearActiveOperations,
|
clearActiveOperations,
|
||||||
|
reloadSelection,
|
||||||
|
|
||||||
setEventDialogVisible,
|
setEventDialogVisible,
|
||||||
eventDialogVisible,
|
eventDialogVisible,
|
||||||
@ -99,8 +100,8 @@ const RenameEvent = ({
|
|||||||
clearTimeout(timerId);
|
clearTimeout(timerId);
|
||||||
timerId = null;
|
timerId = null;
|
||||||
clearActiveOperations(null, [item.id]);
|
clearActiveOperations(null, [item.id]);
|
||||||
|
|
||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
|
reloadSelection();
|
||||||
onClose();
|
onClose();
|
||||||
});
|
});
|
||||||
}, []);
|
}, []);
|
||||||
@ -126,7 +127,9 @@ const RenameEvent = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default inject(
|
export default inject(
|
||||||
({ filesStore, filesActionsStore, uploadDataStore, dialogsStore }) => {
|
({ auth, filesStore, filesActionsStore, uploadDataStore, dialogsStore }) => {
|
||||||
|
const { reloadSelection } = auth.infoPanelStore;
|
||||||
|
|
||||||
const {
|
const {
|
||||||
setIsLoading,
|
setIsLoading,
|
||||||
addActiveItems,
|
addActiveItems,
|
||||||
@ -146,6 +149,7 @@ export default inject(
|
|||||||
renameFolder,
|
renameFolder,
|
||||||
|
|
||||||
editCompleteAction,
|
editCompleteAction,
|
||||||
|
reloadSelection,
|
||||||
|
|
||||||
clearActiveOperations,
|
clearActiveOperations,
|
||||||
setEventDialogVisible,
|
setEventDialogVisible,
|
||||||
|
Loading…
Reference in New Issue
Block a user