mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-26 07:32:37 +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 {
|
||||
setLoading(false);
|
||||
}
|
||||
}, [permissions]);
|
||||
}, []);
|
||||
|
||||
const appContext = useMemo(() => {
|
||||
return { applications };
|
||||
|
||||
@ -34,6 +34,7 @@ import ActivityFeedProvider from '../../ActivityFeed/ActivityFeedProvider/Activi
|
||||
import { ActivityFeedTab } from '../../ActivityFeed/ActivityFeedTab/ActivityFeedTab.component';
|
||||
import Chip from '../../common/Chip/Chip.component';
|
||||
import DescriptionV1 from '../../common/EntityDescription/DescriptionV1';
|
||||
import RichTextEditorPreviewerV1 from '../../common/RichTextEditor/RichTextEditorPreviewerV1';
|
||||
import TabsLabel from '../../common/TabsLabel/TabsLabel.component';
|
||||
import EntitySummaryPanel from '../../Explore/EntitySummaryPanel/EntitySummaryPanel.component';
|
||||
import { EntityDetailsObjectInterface } from '../../Explore/ExplorePage.interface';
|
||||
@ -282,11 +283,15 @@ const Users = ({
|
||||
{t('label.description')}
|
||||
</Typography.Text>
|
||||
<Typography.Paragraph className="m-b-0">
|
||||
{isEmpty(userData.description)
|
||||
? t('label.no-entity', {
|
||||
entity: t('label.description'),
|
||||
})
|
||||
: userData.description}
|
||||
{isEmpty(userData.description) ? (
|
||||
t('label.no-entity', {
|
||||
entity: t('label.description'),
|
||||
})
|
||||
) : (
|
||||
<RichTextEditorPreviewerV1
|
||||
markdown={userData.description ?? ''}
|
||||
/>
|
||||
)}
|
||||
</Typography.Paragraph>
|
||||
</Space>
|
||||
),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user