diff --git a/modules/api_rest/api_rest_replay.go b/modules/api_rest/api_rest_replay.go index b7072d3e..7376f6e3 100644 --- a/modules/api_rest/api_rest_replay.go +++ b/modules/api_rest/api_rest_replay.go @@ -26,6 +26,10 @@ func (mod *RestAPI) startReplay(filename string) (err error) { } mod.State.Store("load_progress", 0) + defer func() { + mod.State.Store("load_progress", 100.0) + }() + mod.loading = true defer func() { mod.loading = false