Skip to content

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

chore(gh-ost): simplify disabled logic (#19327)

boojacka652330db568
diff --git a/frontend/src/components/Plan/components/Configuration/GhostSection/GhostSwitch.vue b/frontend/src/components/Plan/components/Configuration/GhostSection/GhostSwitch.vue
index fd69b60bf4..ed72dddfb1 100644
--- a/frontend/src/components/Plan/components/Configuration/GhostSection/GhostSwitch.vue
+++ b/frontend/src/components/Plan/components/Configuration/GhostSection/GhostSwitch.vue
@@ -4,12 +4,7 @@
<NSwitch
size="small"
:value="enabled"
- :disabled="
- !allowChange ||
- isSheetOversize ||
- (!enabled &&
- (databasesNotMeetingRequirements.length > 0 || errors.length > 0))
- "
+ :disabled="!allowChange || isSheetOversize"
@update:value="toggleChecked"
/>
</template>