Skip to content

Commit

Permalink
enables fk subsetting option on frontend (#2604)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei authored Sep 4, 2024
1 parent 3917c37 commit caf0ca9
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,11 @@ export default function SubsetCard(props: Props): ReactElement {
export function showSubsetOptions(
connType: ConnectionConfigCase | null
): boolean {
// todo: enable subset by FK constraints for mssql during or after NEOS-1364 is closed
return connType === 'pgConfig' || connType === 'mysqlConfig';
return (
connType === 'pgConfig' ||
connType === 'mysqlConfig' ||
connType === 'mssqlConfig'
);
}

function getFormValues(sourceOpts?: JobSourceOptions): SubsetFormValues {
Expand Down

0 comments on commit caf0ca9

Please sign in to comment.