mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-26 07:46:31 +01:00
fix for progress bar
This commit is contained in:
@@ -615,7 +615,9 @@ export default class SafeUpgrade {
|
||||
|
||||
switchStep(step) {
|
||||
Object.keys(this.steps).forEach((handle) => {
|
||||
this.steps[handle].toggle(handle === step);
|
||||
const isActive = handle === step;
|
||||
this.steps[handle].toggle(isActive);
|
||||
this.steps[handle].toggleClass('hidden', !isActive);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user