Skip to content

Commit

Permalink
Merge pull request #143 from bento-platform/fixes/beacon-form-assembl…
Browse files Browse the repository at this point in the history
…y-id

beacon: remove form rules for assembly ID
  • Loading branch information
gsfk authored Jan 11, 2024
2 parents a48fd7d + e0ccb08 commit 5a6cd4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/components/Beacon/VariantsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const VariantsForm = ({ beaconAssemblyIds }: VariantsFormProps) => {
placeholder: `A, C, G, T ${td('or')} N`,
initialValue: '',
},
assemblyId: { name: 'Assembly ID', rules: [{}], placeholder: '', initialValue: '' },
assemblyId: { name: 'Assembly ID', placeholder: '', initialValue: '' },
};

const variantsError = beaconAssemblyIds.includes('error');
Expand Down
2 changes: 1 addition & 1 deletion src/js/types/beacon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type BeaconAssemblyIds = string[];

export interface FormField {
name: string;
rules: Rule[];
rules?: Rule[];
placeholder: string;
initialValue: string;
}
Expand Down

0 comments on commit 5a6cd4f

Please sign in to comment.