diff --git a/openmetadata-ui/src/main/resources/ui/src/components/DashboardDetails/DashboardDetails.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/DashboardDetails/DashboardDetails.component.tsx index 8ee9557dbbe6..25a2be30d1db 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/DashboardDetails/DashboardDetails.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/DashboardDetails/DashboardDetails.component.tsx @@ -26,7 +26,7 @@ import { DataAssetsHeader } from 'components/DataAssets/DataAssetsHeader/DataAss import { EntityName } from 'components/Modals/EntityNameModal/EntityNameModal.interface'; import TableTags from 'components/TableTags/TableTags.component'; import TabsLabel from 'components/TabsLabel/TabsLabel.component'; -import TagsContainerInfiniteScroll from 'components/Tag/TagsContainerInfiniteScroll/TagsContainerInfiniteScroll'; +import TagsContainerV2 from 'components/Tag/TagsContainerV2/TagsContainerV2'; import { getDashboardDetailsPath } from 'constants/constants'; import { compare } from 'fast-json-patch'; import { TagSource } from 'generated/type/schema'; @@ -598,7 +598,7 @@ const DashboardDetails = ({ data-testid="entity-right-panel" flex="320px"> - - - - = ({ setOptions(res.data); setPaging(res.paging); setSearchValue(value); - setIsLoading(false); } catch (error) { showErrorToast(error as AxiosError); + } finally { + setIsLoading(false); } }, [fetchOptions] @@ -109,22 +111,22 @@ const InfiniteSelectScroll: FC = ({ } }; + const dropdownRender = (menu: React.ReactElement) => ( + <> + {menu} + {hasContentLoading ? : null} + + ); + return (