Web:Client: fix restore backup
This commit is contained in:
parent
16c2d0ac92
commit
708888244f
@ -150,7 +150,7 @@ const RestoreBackup = (props) => {
|
||||
onClick={onChangeRadioButton}
|
||||
selected={radioButtonState}
|
||||
spacing="16px"
|
||||
// isDisabled={!isEnableRestore}
|
||||
isDisabled={!isEnableRestore}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
@ -161,15 +161,17 @@ const RestoreBackup = (props) => {
|
||||
|
||||
{radioButtonState === BACKUP_ROOM && (
|
||||
<RoomsModule
|
||||
// isDisabled={!isEnableRestore}
|
||||
isDisabled={!isEnableRestore}
|
||||
t={t}
|
||||
fileName={path}
|
||||
isPanelVisible={isVisibleSelectFileDialog}
|
||||
onClose={onModalClose}
|
||||
onClickInput={onClickInput}
|
||||
onSelectFile={(file) => {
|
||||
if (file && file.path) {
|
||||
const newPath = file.path.join("/");
|
||||
setPath(`${newPath}/${file.title}`);
|
||||
}
|
||||
setRestoreResource(file.id);
|
||||
}}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user