From 686c02c6f8bfffc9fbae933976ed3ca20d38933c Mon Sep 17 00:00:00 2001 From: goodm2ice Date: Mon, 13 Dec 2021 10:32:31 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D1=8B?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86?= =?UTF-8?q?=D0=B5=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D1=81=D0=BA=D0=B2=D0=B0=D0=B6?= =?UTF-8?q?=D0=B8=D0=BD=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/AdminPanel/WellController.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/AdminPanel/WellController.jsx b/src/pages/AdminPanel/WellController.jsx index bad3fa9..f788331 100644 --- a/src/pages/AdminPanel/WellController.jsx +++ b/src/pages/AdminPanel/WellController.jsx @@ -34,6 +34,7 @@ export default function WellController() { useEffect(() => invokeWebApiWrapperAsync( async () => { + await updateTable() let clusters = await AdminClusterService.getAll() clusters = clusters?.map((cluster) => ({ value: cluster.id, label: cluster.caption })) setClusters(clusters ?? []) @@ -42,8 +43,6 @@ export default function WellController() { `Не удалось загрузить список кустов` ), []) - useEffect(updateTable, []) - const handlerProps = { service: AdminWellService, setLoader: setShowLoader,