Skip to content

Commit

Permalink
enhance(entity-picker): remove icon next to local entities
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Aug 28, 2023
1 parent 9c4c399 commit 583b02c
Showing 1 changed file with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ import classnames from "classnames"
import { scaleLinear, ScaleLinear } from "d3-scale"
import Select from "react-select"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome/index.js"
import {
faLocationDot,
faSearch,
faTimes,
} from "@fortawesome/free-solid-svg-icons"
import { faSearch, faTimes } from "@fortawesome/free-solid-svg-icons"
import { FuzzySearch } from "../../controls/FuzzySearch"
import {
partition,
Expand Down Expand Up @@ -691,18 +687,7 @@ class PickerOption extends React.Component<PickerOptionProps> {
</div>
<div className="info-container">
<div className="labels-container">
<div className="name">
{highlight(entityName)}
{optionWithMetricValue.localEntitiesIndex !==
undefined && (
<FontAwesomeIcon
style={{ marginLeft: 5 }}
icon={faLocationDot}
opacity={0.9}
color="slategrey"
/>
)}
</div>
<div className="name">{highlight(entityName)}</div>
{plotValue !== undefined && (
<div className="metric">{metricValue}</div>
)}
Expand Down

0 comments on commit 583b02c

Please sign in to comment.