Skip to content

Commit e392ec2

Browse files
committed
skip chips popover when no message for jest
1 parent 10c31dd commit e392ec2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web/src/components/toolbar/filters/chips-popover.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export interface ChipsPopoverProps {
1111
export const ChipsPopover: React.FC<ChipsPopoverProps> = ({ chipsPopoverMessage, setChipsPopoverMessage }) => {
1212
const { t } = useTranslation('plugin__netobserv-plugin');
1313

14+
if (!chipsPopoverMessage) {
15+
return <></>;
16+
}
17+
1418
return (
1519
<Popover
1620
id="chips-popover"

0 commit comments

Comments
 (0)