fix: progress bar not disappearing (#18375) (#18392)
* fix: progress bar not disappearing
* style: format
[skip ci]
Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit 729be707cb)
Co-authored-by: stephen <stephenBDT@users.noreply.github.com>