Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
HUAHUAI23 committed Jul 19, 2024
1 parent 4d1073a commit c3dc4b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/src/pages/home/mods/CreateAppModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c3dc4b3

Please sign in to comment.