mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-01 18:15:50 +00:00
fix user profile page playwright test (#20107)
This commit is contained in:
parent
7cbcb1a94b
commit
dcf5604c62
@ -58,7 +58,7 @@ export const ApplicationsProvider = ({ children }: { children: ReactNode }) => {
|
|||||||
} else {
|
} else {
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
}
|
}
|
||||||
}, [permissions]);
|
}, []);
|
||||||
|
|
||||||
const appContext = useMemo(() => {
|
const appContext = useMemo(() => {
|
||||||
return { applications };
|
return { applications };
|
||||||
|
|||||||
@ -34,6 +34,7 @@ import ActivityFeedProvider from '../../ActivityFeed/ActivityFeedProvider/Activi
|
|||||||
import { ActivityFeedTab } from '../../ActivityFeed/ActivityFeedTab/ActivityFeedTab.component';
|
import { ActivityFeedTab } from '../../ActivityFeed/ActivityFeedTab/ActivityFeedTab.component';
|
||||||
import Chip from '../../common/Chip/Chip.component';
|
import Chip from '../../common/Chip/Chip.component';
|
||||||
import DescriptionV1 from '../../common/EntityDescription/DescriptionV1';
|
import DescriptionV1 from '../../common/EntityDescription/DescriptionV1';
|
||||||
|
import RichTextEditorPreviewerV1 from '../../common/RichTextEditor/RichTextEditorPreviewerV1';
|
||||||
import TabsLabel from '../../common/TabsLabel/TabsLabel.component';
|
import TabsLabel from '../../common/TabsLabel/TabsLabel.component';
|
||||||
import EntitySummaryPanel from '../../Explore/EntitySummaryPanel/EntitySummaryPanel.component';
|
import EntitySummaryPanel from '../../Explore/EntitySummaryPanel/EntitySummaryPanel.component';
|
||||||
import { EntityDetailsObjectInterface } from '../../Explore/ExplorePage.interface';
|
import { EntityDetailsObjectInterface } from '../../Explore/ExplorePage.interface';
|
||||||
@ -282,11 +283,15 @@ const Users = ({
|
|||||||
{t('label.description')}
|
{t('label.description')}
|
||||||
</Typography.Text>
|
</Typography.Text>
|
||||||
<Typography.Paragraph className="m-b-0">
|
<Typography.Paragraph className="m-b-0">
|
||||||
{isEmpty(userData.description)
|
{isEmpty(userData.description) ? (
|
||||||
? t('label.no-entity', {
|
t('label.no-entity', {
|
||||||
entity: t('label.description'),
|
entity: t('label.description'),
|
||||||
})
|
})
|
||||||
: userData.description}
|
) : (
|
||||||
|
<RichTextEditorPreviewerV1
|
||||||
|
markdown={userData.description ?? ''}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</Typography.Paragraph>
|
</Typography.Paragraph>
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user