change(ui) - events filter placeholder

This commit is contained in:
Shekar Siri 2023-04-28 10:55:55 +02:00
parent 9cac65867d
commit 16324cc1a7
2 changed files with 3 additions and 3 deletions

View file

@ -46,6 +46,7 @@ const Event: React.FC<Props> = ({
}) => {
const wrapperRef = useRef<HTMLDivElement>(null);
const [menuOpen, setMenuOpen] = useState(false);
const isLocation = event.type === TYPES.LOCATION;
const onContextMenu = (e: React.MouseEvent<HTMLDivElement>) => {
e.preventDefault();
@ -111,7 +112,6 @@ const Event: React.FC<Props> = ({
icon = 'mouse_thrashing';
break;
}
const isLocation = event.type === TYPES.LOCATION;
return (
<Tooltip
@ -190,7 +190,7 @@ const Event: React.FC<Props> = ({
<div className={cn(cls.topBlock, 'w-full')}>
<div className={cn(cls.firstLine, 'w-full')}>{renderBody()}</div>
</div>
{event.type === TYPES.LOCATION &&
{isLocation &&
(event.fcpTime || event.visuallyComplete || event.timeToInteractive) && (
<LoadInfo
showInfo={showLoadInfo}

View file

@ -16,7 +16,7 @@ function EventSearch(props) {
<Input
autoFocus
type="text"
placeholder="Filter by Event Type, URL or Keyword"
placeholder="Filter user steps"
className="inset-0 w-full"
name="query"
value={value}