From c3dc4b3ca0a50eaa75d7343d11b1a29d55dc525e Mon Sep 17 00:00:00 2001 From: HUAHUAI23 Date: Fri, 19 Jul 2024 10:02:54 +0000 Subject: [PATCH] ok --- web/src/pages/home/mods/CreateAppModal/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/pages/home/mods/CreateAppModal/index.tsx b/web/src/pages/home/mods/CreateAppModal/index.tsx index 2e2e429..6320f8c 100644 --- a/web/src/pages/home/mods/CreateAppModal/index.tsx +++ b/web/src/pages/home/mods/CreateAppModal/index.tsx @@ -220,8 +220,10 @@ const CreateAppModal = (props: { application?.bundle.resource.dedicatedDatabase.capacity !== bundle.dedicatedDatabase?.capacity; - if (!isRunning && (isRuntimeChanged || isDedicatedDatabaseChanged)) { - updateCurrentApp(currentApp!, APP_STATUS.Running); + if (!isRunning) { + if (isRuntimeChanged || isDedicatedDatabaseChanged) { + updateCurrentApp(currentApp!, APP_STATUS.Running); + } } if (isRunning) {