refresh working info

This commit is contained in:
aynsix
2020-05-18 17:38:04 +03:00
parent 11b8ca7953
commit bfb2b7723a
2 changed files with 29 additions and 4 deletions

View File

@@ -69,8 +69,11 @@ class AdminConfigurationController extends Controller
/** @var WorkerRunningJobRepository $repoWorker */
$repoWorker = $app['repo.worker-running-job'];
$reload = ($request->query->get('reload')) == 1 ? true : false ;
return $this->render('admin/worker-manager/worker_info.html.twig', [
'workerRunningJob' => $repoWorker->findAll()
'workerRunningJob' => $repoWorker->findAll(),
'reload' => $reload
]);
}