diff --git a/server/src/application/application.controller.ts b/server/src/application/application.controller.ts index fb5fd0b008..5839ee5f95 100644 --- a/server/src/application/application.controller.ts +++ b/server/src/application/application.controller.ts @@ -371,10 +371,12 @@ export class ApplicationController { if ( dto.dedicatedDatabase?.replicas && origin.resource.dedicatedDatabase?.replicas && - dto.dedicatedDatabase?.replicas !== + dto.dedicatedDatabase?.replicas < origin.resource.dedicatedDatabase?.replicas ) { - return ResponseUtil.error('cannot change database replicas') + return ResponseUtil.error( + 'To reduce the number of database replicas, please contact customer support.', + ) } // check if a user exceeds the resource limit in a region diff --git a/web/src/pages/app/mods/StatusBar/LogsModal/initLog.tsx b/web/src/pages/app/mods/StatusBar/LogsModal/initLog.tsx index e7d71378e8..176b11fa46 100644 --- a/web/src/pages/app/mods/StatusBar/LogsModal/initLog.tsx +++ b/web/src/pages/app/mods/StatusBar/LogsModal/initLog.tsx @@ -112,7 +112,7 @@ export default function InitLog() {
{ diff --git a/web/src/pages/home/mods/CreateAppModal/index.tsx b/web/src/pages/home/mods/CreateAppModal/index.tsx index 36d66e239d..bca061fb5a 100644 --- a/web/src/pages/home/mods/CreateAppModal/index.tsx +++ b/web/src/pages/home/mods/CreateAppModal/index.tsx @@ -352,6 +352,7 @@ const CreateAppModal = (props: { { setBundle((prev) => { const v1 = _.cloneDeep(_.set(prev, k, v));