Browse Source

fix(saas): fixed edit saas

- There is no need to check the connection string when editing tenants
pull/1416/head
colin 3 weeks ago
parent
commit
b20784249d
  1. 2
      apps/vben5/packages/@abp/saas/src/components/tenants/TenantModal.vue

2
apps/vben5/packages/@abp/saas/src/components/tenants/TenantModal.vue

@ -148,7 +148,7 @@ async function onGet() {
async function onSubmit() {
try {
modalApi.setState({ submitting: true });
if (!tenant.value.useSharedDatabase) {
if (!tenant.value.id && !tenant.value.useSharedDatabase) {
await checkConnectionString({
connectionString: tenant.value.defaultConnectionString,
provider: tenant.value.provider,

Loading…
Cancel
Save