Skip to content

Commit

Permalink
UIPQB-141: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
UladzislauKutarkin committed Dec 16, 2024
1 parent 1508bb8 commit 118fddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const QueryBuilderModal = ({
label={<FormattedMessage id="ui-plugin-query-builder.trigger" />}
size="large"
contentClass={css.modalClass}
enforceFocus={true}
enforceFocus
>
<Headline size="medium" margin="none" tag="h3">
<FormattedMessage id="ui-plugin-query-builder.modal.query" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
Selection,
Col,
Row,
getFirstFocusable
getFirstFocusable,
} from '@folio/stripes/components';

import PropTypes from 'prop-types';
Expand Down Expand Up @@ -49,6 +49,7 @@ export const RepeatableFields = ({ source, setSource, getParamsSource, columns }

if (previousRowElement) {
const firstFocusableElement = getFirstFocusable(previousRowElement);

if (firstFocusableElement) {
firstFocusableElement.focus();
}
Expand Down

0 comments on commit 118fddc

Please sign in to comment.