Improve step count for spectre imports.

This commit is contained in:
James Cole
2018-01-13 07:52:35 +01:00
parent 50882f309b
commit fb863b0bf2
3 changed files with 37 additions and 28 deletions

View File

@@ -113,6 +113,7 @@ class StatusController extends Controller
$result['started'] = true;
$result['running'] = true;
}
$result['percentage'] = $result['percentage'] > 100 ? 100 : $result['percentage'];
return Response::json($result);
}