Fixed issue while getting locking status of a bucket (#2790)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2023-04-26 09:59:58 -06:00
committed by GitHub
parent 2c84a52937
commit f7a7f01d7d
2 changed files with 2 additions and 1 deletions

View File

@@ -317,6 +317,7 @@ const BrowserHandler = () => {
dispatch(
setSimplePathHandler(decodedIPaths === "" ? "/" : decodedIPaths)
);
dispatch(setLoadingLocking(true));
} else {
dispatch(setLoadingObjectInfo(true));
dispatch(setObjectDetailsView(true));

View File

@@ -61,7 +61,7 @@ const initialState: ObjectBrowserState = {
loadingVersioning: true,
versionInfo: {},
lockingEnabled: false,
loadingLocking: false,
loadingLocking: true,
selectedObjects: [],
downloadRenameModal: null,
selectedPreview: null,