diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/DataInsightPage/DataInsightProvider.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/DataInsightPage/DataInsightProvider.tsx index adba7e2b701..9c04fdb96df 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/DataInsightPage/DataInsightProvider.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/DataInsightPage/DataInsightProvider.tsx @@ -10,7 +10,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { isEmpty, isEqual } from 'lodash'; +import { isEmpty, isEqual, uniqBy } from 'lodash'; import { DateRangeObject } from 'Models'; import React, { createContext, @@ -254,7 +254,7 @@ const DataInsightProvider = ({ children }: DataInsightProviderProps) => { data: kpiList, }, teamFilter: { - options: teamsOptions.options, + options: uniqBy(teamsOptions.options, 'id'), selectedKeys: teamsOptions.selectedOptions, onChange: handleTeamChange, onGetInitialOptions: fetchDefaultTeamOptions,