Skip to content
Snippets Groups Projects
Unverified Commit acf87c0c authored by Mahatthana (Kelvin) Nomsawadi's avatar Mahatthana (Kelvin) Nomsawadi Committed by GitHub
Browse files

Remove incorrect logic to hide hidden db fields (#46876)

parent 1e9bd94d
No related branches found
No related tags found
No related merge requests found
......@@ -33,19 +33,6 @@ export async function askForDatabaseConnectionInfo(options: Options) {
continue;
}
const visibleIf = field["visible-if"];
const shouldShowField =
!visibleIf ||
Object.entries(visibleIf).every(
([key, expected]) => connection[key] === expected,
);
// Skip fields that should be hidden
if (!shouldShowField) {
continue;
}
const name = field["display-name"];
const helperText = field["helper-text"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment