Web: Renamed store.
This commit is contained in:
parent
25102157e6
commit
c8755e2384
@ -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,
|
||||
|
@ -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 =
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user