Web: Renamed store.

This commit is contained in:
Tatiana Lopaeva 2023-09-06 14:32:27 +03:00
parent 25102157e6
commit c8755e2384
4 changed files with 6 additions and 7 deletions

View File

@ -104,9 +104,9 @@ const FilesSelectorInput = (props) => {
);
};
export default inject(({ selectFolderDialogStore }) => {
export default inject(({ filesSelectorInput }) => {
const { basePath, newPath, setNewPath, setBasePath, toDefault, isErrorPath } =
selectFolderDialogStore;
filesSelectorInput;
return {
isErrorPath,

View File

@ -559,7 +559,7 @@ class AutomaticBackup extends React.PureComponent {
}
}
export default inject(
({ auth, backup, treeFoldersStore, selectFolderDialogStore }) => {
({ auth, backup, treeFoldersStore, filesSelectorInput }) => {
const { language, settingsStore, currentQuotaStore } = auth;
const { isRestoreAndAutoBackupAvailable } = currentQuotaStore;
const { organizationName, theme } = settingsStore;
@ -595,8 +595,7 @@ export default inject(
defaultFolderId,
} = backup;
const { updateBaseFolderPath, resetNewFolderPath } =
selectFolderDialogStore;
const { updateBaseFolderPath, resetNewFolderPath } = filesSelectorInput;
const isCheckedDocuments = selectedStorageType === `${DocumentModuleType}`;
const isCheckedThirdParty =

View File

@ -22,7 +22,7 @@ import PrimaryProgressDataStore from "./PrimaryProgressDataStore";
import VersionHistoryStore from "./VersionHistoryStore";
import DialogsStore from "./DialogsStore";
import selectFolderDialogStore from "./SelectFolderDialogStore";
import filesSelectorInput from "./FilesSelectorInput";
import ContextOptionsStore from "./ContextOptionsStore";
import HotkeyStore from "./HotkeyStore";
@ -206,7 +206,7 @@ const store = {
treeFoldersStore,
selectedFolderStore,
filesActionsStore,
selectFolderDialogStore,
filesSelectorInput,
contextOptionsStore,
hotkeyStore,
selectFileDialogStore,