Skip to content

Commit

Permalink
OD-16658 Fix rebase conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury Yasuchenya committed Nov 10, 2021
1 parent 2fc5404 commit 29ddaa8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ class EditInPlaceQuerySelect extends React.PureComponent<Props, State> {

const label = this.getOptionLabel(data);

const content = getHighlightedPartLabel(label, searchValue, optionProps);
const content = getHighlightedPartLabel(label, searchValue);

let option = content;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { withStyles, createStyles } from "@mui/styles";
import React, {
useContext, useEffect, useMemo, useRef, useState
} from "react";
import { withStyles } from "@mui/styles";
import CloseIcon from '@mui/icons-material//Close';
import clsx from "clsx";
import Typography from "@mui/material/Typography";
Expand Down Expand Up @@ -456,7 +455,7 @@ const EditInPlaceSearchSelect: React.FC<Props & WrappedFieldProps> = ({
};

const renderOption = (optionProps, data) => {
const option = getHighlightedPartLabel(getOptionLabel(data), searchValue, optionProps);
const option = getHighlightedPartLabel(getOptionLabel(data), searchValue);

if (typeof itemRenderer === "function") {
return itemRenderer(option, data, searchValue) as any;
Expand Down Expand Up @@ -526,7 +525,7 @@ const EditInPlaceSearchSelect: React.FC<Props & WrappedFieldProps> = ({
loading={loading}
freeSolo={creatable}
disableClearable={!allowEmpty}
getOptionSelected={getOptionSelected}
isOptionEqualToValue={getOptionSelected}
onChange={handleChange}
classes={{
root: clsx("d-inline-flex", classes.root),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const SimpleTagList: React.FC<Props> = props => {

const renderOption = (optionProps, option) => {
const label = option?.tagBody?.name;
const highlightedLabel = getHighlightedPartLabel(label, currentInputString, optionProps);
const highlightedLabel = getHighlightedPartLabel(label, currentInputString);
return getOptionText(option, highlightedLabel);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import debounce from "lodash.debounce";
import clsx from "clsx";
import createStyles from "@mui/styles/createStyles";
import withStyles from "@mui/styles/withStyles";
import Button from "@mui/material/Button";icons-material
import Button from "@mui/material/Button";
import Card from "@mui/material/Card";
import CardContent from "@mui/material/CardContent";
import Grid from "@mui/material/Grid";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { connect } from "react-redux";
import { Dispatch } from "redux";
import Collapse from "@mui/material/Collapse";
import Tooltip from "@mui/material/Tooltip";
import InfoOutlinedIcon from "@material-ui/icons/InfoOutlined";
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
import FormField from "../../../../common/components/form/formFields/FormField";
import { normalizeNumber } from "../../../../common/utils/numbers/numbersNormalizing";
import { validateSingleMandatoryField, greaterThanNullValidation } from "../../../../common/utils/validation";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useCallback, useEffect, useMemo, useState, useEffect } from "react";
import React, { useCallback, useEffect, useMemo, useState } from "react";
import { MenuItem } from "@mui/material";
import { connect } from "react-redux";
import Menu from "@mui/material/Menu/Menu";
Expand Down

0 comments on commit 29ddaa8

Please sign in to comment.