diff --git a/client/src/components/_common/HighlightSearchTerm/HighlightSearchTerm.jsx b/client/src/components/_common/HighlightSearchTerm/HighlightSearchTerm.jsx index 2f317851b..f7a2841b1 100644 --- a/client/src/components/_common/HighlightSearchTerm/HighlightSearchTerm.jsx +++ b/client/src/components/_common/HighlightSearchTerm/HighlightSearchTerm.jsx @@ -3,14 +3,14 @@ import PropTypes from 'prop-types'; import { Link, useLocation } from 'react-router-dom'; import * as ROUTES from '../../../constants/routes'; import { getOutputPath } from 'utils/jobsUtil'; -import './HighlightSearchTerm.scss'; +import styles from './HighlightSearchTerm.module.scss'; const HighlightSearchTerm = ({ searchTerm, cell, id }) => { const highlightParts = (content) => { const parts = content.split(new RegExp(`(${searchTerm})`, 'gi')); return parts.map((part, i) => part.toLowerCase() === searchTerm.toLowerCase() ? ( - + {part} ) : ( @@ -31,7 +31,7 @@ const HighlightSearchTerm = ({ searchTerm, cell, id }) => { ) : null; } else if (id == 'uuid') { - return {cell.render('Cell')}; + return {cell.render('Cell')}; } else if (id == 'name') { const jobName = cell.row.values[id]; diff --git a/client/src/components/_common/HighlightSearchTerm/HighlightSearchTerm.scss b/client/src/components/_common/HighlightSearchTerm/HighlightSearchTerm.module.scss similarity index 100% rename from client/src/components/_common/HighlightSearchTerm/HighlightSearchTerm.scss rename to client/src/components/_common/HighlightSearchTerm/HighlightSearchTerm.module.scss