diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/tags/index.test.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/tags/index.test.tsx index 902350eb31d..48dfe19a01f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/tags/index.test.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/tags/index.test.tsx @@ -254,6 +254,7 @@ jest.mock('../../utils/TagsUtils', () => ({ .mockImplementation(() => Promise.resolve({ data: mockTagsCategory })), getTaglist: jest.fn().mockReturnValue(['tag 1', 'tag 2']), getTagOptionsFromFQN: jest.fn().mockReturnValue([]), + isSystemTierTags: jest.fn().mockReturnValue(false), })); jest.mock( diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/tags/index.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/tags/index.tsx index 1fd5fc88640..f953463ce65 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/tags/index.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/tags/index.tsx @@ -67,7 +67,7 @@ import { } from '../../utils/RouterUtils'; import { getErrorText } from '../../utils/StringsUtils'; import SVGIcons, { Icons } from '../../utils/SvgUtils'; -import { getTagCategories } from '../../utils/TagsUtils'; +import { getTagCategories, isSystemTierTags } from '../../utils/TagsUtils'; import { showErrorToast } from '../../utils/ToastUtils'; import Form from './Form'; import './TagPage.style.less'; @@ -592,7 +592,10 @@ const TagsPage = () => {