Skip to content

Commit

Permalink
ERM-3056, ERM-3057, ERM-3058, ERM-3059 Filter for documents in licens…
Browse files Browse the repository at this point in the history
…es and amendments

* fix lint errors
  • Loading branch information
CalamityC committed Oct 17, 2023
1 parent 3deaa4c commit 754df1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 7 additions & 8 deletions lib/DocumentFilter/DocumentFilterRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,12 @@ const DocumentFilterRule = ({
<Col xs={3}>
<Field name={`${name}.value`} validate={requiredValidator}>
{({ input }) => (
<>
<TextField
{...input}
aria-labelledby={`${ariaLabelledby}-rule-column-header-value`}
disabled={!value?.path}
required
/>
</>
<TextField
{...input}
aria-labelledby={`${ariaLabelledby}-rule-column-header-value`}
disabled={!value?.path}
required
/>
)}
</Field>
</Col>
Expand Down Expand Up @@ -106,6 +104,7 @@ DocumentFilterRule.propTypes = {
value: PropTypes.shape({
operator: PropTypes.string,
value: PropTypes.string,
path: PropTypes.string,
}),
};

Expand Down
1 change: 1 addition & 0 deletions lib/DocumentFilter/SupplementaryDocumentFilterRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ DocumentFilterRule.propTypes = {
value: PropTypes.shape({
operator: PropTypes.string,
value: PropTypes.string,
path: PropTypes.string,
}),
};

Expand Down

0 comments on commit 754df1d

Please sign in to comment.