message: Changed Noobaa events filtering
  - events related to noobaa pod, statesfulsets
  - all must include noobaa prefix
  d
diff: @@ -6,7 +6,7 @@ import DashboardCardHeader from '@console/shared/src/components/dashboard/dashbo
  import DashboardCardTitle from '@console/shared/src/components/dashboard/dashboard-card/DashboardCardTitle';
  import { EventKind } from '@console/internal/module/k8s';
  import { FirehoseResource, FirehoseResult } from '@console/internal/components/utils';
  -import { EventModel } from '@console/internal/models';
  +import { EventModel, StatefulSetModel, PodModel } from '@console/internal/models';
  import ActivityBody, {
  RecentEventsBody,
  OngoingActivityBody,
  @@ -17,15 +17,23 @@ import {
  withDashboardResources,
  } from '@console/internal/components/dashboard/with-dashboard-resources';
  import { DATA_RESILIENCE_QUERIES } from '../../queries';
  -import { NooBaaObjectBucketClaimModel, NooBaaObjectBucketModel } from '../../models';
  import { isDataResiliencyActivity } from './data-resiliency-activity/data-resiliency-activity';
  import './activity-card.scss';
  const eventsResource: FirehoseResource = { isList: true, kind: EventModel.kind, prop: 'events' };
  -const noobaaEventsFilter = (event: EventKind): boolean =>
  - _.get(event, 'involvedObject.kind') ===
  - (NooBaaObjectBucketClaimModel.kind || NooBaaObjectBucketModel.kind);
  +const isNoobaaEventObject = (event: EventKind): boolean => {
  + const eventName: string = _.get(event, 'involvedObject.name');
  + return _.startsWith(eventName, 'noobaa');
  +};
  +
  +const noobaaEventsFilter = (event: EventKind): boolean => {
  + const eventKind: string = _.get(event, 'involvedObject.kind');
  + if (eventKind === PodModel.kind || eventKind === StatefulSetModel.kind) {
  + return isNoobaaEventObject(event);
  + }
  + return false;
  +};
  const RecentEvent = withDashboardResources(
  ({ watchK8sResource, stopWatchK8sResource, resources }: DashboardItemProps) => {
  