{isRightPanelLoading ? (
@@ -416,27 +433,7 @@ const GlossaryPage = () => {
/>
);
- return (
-
- {glossaries.length === 0 && !isLoading ? (
-
- ) : (
- resizableLayout
- )}
-
- );
+ return <>{resizableLayout}>;
};
export default GlossaryPage;
diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/Glossary/GlossaryPage/GlossaryPage.test.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/Glossary/GlossaryPage/GlossaryPage.test.tsx
index b542c7cd88b..8c1b0f7e52f 100644
--- a/openmetadata-ui/src/main/resources/ui/src/pages/Glossary/GlossaryPage/GlossaryPage.test.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/pages/Glossary/GlossaryPage/GlossaryPage.test.tsx
@@ -46,15 +46,6 @@ jest.mock('../../../context/PermissionProvider/PermissionProvider', () => {
};
});
-jest.mock('../../../components/PageLayoutV1/PageLayoutV1', () => {
- return jest.fn(({ children, pageTitle }) => (
-
-
{pageTitle}
-
{children}
-
- ));
-});
-
jest.mock('../../../components/Glossary/GlossaryV1.component', () => {
return jest.fn().mockImplementation((props) => (
- ),
- minWidth: 700,
- flex: 0.7,
- }}
- pageTitle={t('label.lineage-config')}
- secondPanel={{
- className: 'service-doc-panel content-resizable-panel-container',
- minWidth: 400,
- flex: 0.3,
- children: (
-
- ),
- }}
- />
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ),
+ minWidth: 700,
+ flex: 0.7,
+ }}
+ pageTitle={t('label.lineage-config')}
+ secondPanel={{
+ className: 'service-doc-panel content-resizable-panel-container',
+ minWidth: 400,
+ flex: 0.3,
+ children: (
+