Skip to content

Commit

Permalink
Merge branch 'main' into feature-import-export-custom-property
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish8689 authored Sep 28, 2024
2 parents 01ec59d + f9e70f8 commit 9228945
Show file tree
Hide file tree
Showing 3 changed files with 473 additions and 365 deletions.
2 changes: 1 addition & 1 deletion openmetadata-ui/src/main/resources/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"qs": "6.10.3",
"quill-mention": "^6.0.1",
"quilljs-markdown": "^1.2.0",
"rapidoc": "9.3.4",
"rapidoc": "9.3.7",
"react": "^17.0.2",
"react-antd-column-resize": "1.0.3",
"react-awesome-query-builder": "5.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ExclamationCircleFilled } from '@ant-design/icons';
import { Button, Divider, Input, Space, Tooltip, Typography } from 'antd';
import { AxiosError } from 'axios';
import { isEmpty } from 'lodash';
import React, { useCallback, useMemo, useState } from 'react';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { ReactComponent as EditIcon } from '../../../../../assets/svg/edit-new.svg';
import {
Expand Down Expand Up @@ -269,6 +269,11 @@ const UserProfileDetails = ({
}
}, [userData.id]);

useEffect(() => {
// Reset display name when user data changes
setDisplayName(userData.displayName);
}, [userData.displayName]);

return (
<>
<Space
Expand Down
Loading

0 comments on commit 9228945

Please sign in to comment.