mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
fix browser hang when listobjects is denied (#6385)
When Deny ListObjects policy is set on bucket, the browser is hanging while trying to list the object. This is now fixed by showing appropriate error message and an empty object list. Fixes #6371
This commit is contained in:
committed by
kannappanr
parent
d13bd5b9b5
commit
2c46214291
@@ -50,6 +50,13 @@ export default (
|
||||
marker: action.marker,
|
||||
isTruncated: action.isTruncated
|
||||
}
|
||||
case actionsObjects.RESET_LIST:
|
||||
return {
|
||||
...state,
|
||||
list: [],
|
||||
marker: "",
|
||||
isTruncated: false
|
||||
}
|
||||
case actionsObjects.APPEND_LIST:
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user