mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
fix success alert not shown after object is uploaded (#6500)
This commit is contained in:
committed by
Nitish Tiwari
parent
b62ed5dc90
commit
7c339e248a
@@ -22,7 +22,7 @@ export let alertId = 0
|
||||
export const set = alert => {
|
||||
const id = alertId++
|
||||
return (dispatch, getState) => {
|
||||
if (alert.type !== "danger") {
|
||||
if (alert.type !== "danger" || alert.autoClear) {
|
||||
setTimeout(() => {
|
||||
dispatch({
|
||||
type: CLEAR,
|
||||
|
||||
Reference in New Issue
Block a user