diff --git a/web/pgadmin/tools/schema_diff/static/js/components/InputComponent.jsx b/web/pgadmin/tools/schema_diff/static/js/components/InputComponent.jsx index e00267eb3..d0aa1ad8f 100644 --- a/web/pgadmin/tools/schema_diff/static/js/components/InputComponent.jsx +++ b/web/pgadmin/tools/schema_diff/static/js/components/InputComponent.jsx @@ -26,7 +26,7 @@ export function InputComponent({ label, serverList, databaseList, schemaList, di const [disableSchemaSelection, setDisableSchemaSelection] = useState(selectedDid == null); useEffect(() => { - setSelectedDatabase(selectedDid) + setSelectedDatabase(selectedDid); if (selectedDid) setDisableSchemaSelection(false); }, [selectedSid, selectedDid, selectedScid]);