Fix loading state toggling

1 job for !593 with loading in 3 minutes and 38 seconds (queued for 2 minutes and 19 seconds)
merge request