Skip to content

Commit

Permalink
skip chips popover when no message for jest
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Feb 3, 2025
1 parent 10c31dd commit e392ec2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/src/components/toolbar/filters/chips-popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export interface ChipsPopoverProps {
export const ChipsPopover: React.FC<ChipsPopoverProps> = ({ chipsPopoverMessage, setChipsPopoverMessage }) => {
const { t } = useTranslation('plugin__netobserv-plugin');

if (!chipsPopoverMessage) {
return <></>;
}

return (
<Popover
id="chips-popover"
Expand Down

0 comments on commit e392ec2

Please sign in to comment.