mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Don't flash progress indicators when it is a failed request.
This commit is contained in:
@@ -22,7 +22,10 @@ const progress: ProgressStore = {
|
||||
}),
|
||||
|
||||
setComplete: action(state => {
|
||||
state.progress = 100;
|
||||
if (state.progress) {
|
||||
state.progress = 100;
|
||||
}
|
||||
|
||||
state.continuous = false;
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user