Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: mis-blocking when there's no RO datasource (#12150)

Liu Jib86c3856635c
diff --git a/frontend/src/components/InstanceForm/InstanceForm.vue b/frontend/src/components/InstanceForm/InstanceForm.vue
index 11622d5879..480ef4a145 100644
--- a/frontend/src/components/InstanceForm/InstanceForm.vue
+++ b/frontend/src/components/InstanceForm/InstanceForm.vue
@@ -1108,8 +1108,8 @@ const doUpdate = async () => {
*/
const maybeQueueUpsertReadonlyDataSources = async () => {
if (readonlyDataSourceList.value.length === 0) {
- // Nothing to do
- return true;
+ // Nothing to do, don't block
+ return false;
}
// Upsert readonly data sources one by one
for (let i = 0; i < readonlyDataSourceList.value.length; i++) {