mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-23 00:18:06 +00:00
Fixed issue Unable to delete last tag from entity level tags #5280 and home page getting blank issue #5392 (#5393)
* Fixed issue Unable to delete last tag from entity level tags #5280 * resolving blank page issue * miner fix Co-authored-by: Vivek Ratnavel Subramanian <vivekratnavel90@gmail.com> Co-authored-by: Sanket Shah <shahsank3t@users.noreply.github.com>
This commit is contained in:
parent
4886d9d4af
commit
5611ed7767
@ -5,5 +5,6 @@
|
||||
"watchForFileChanges": false,
|
||||
"baseUrl": "http://localhost:8585",
|
||||
"defaultCommandTimeout": 5000,
|
||||
"videoUploadOnPasses": false
|
||||
"videoUploadOnPasses": false,
|
||||
"chromeWebSecurity": false
|
||||
}
|
||||
|
@ -74,6 +74,8 @@ const TagsContainer: FunctionComponent<TagsContainerProps> = ({
|
||||
|
||||
return updatedTags;
|
||||
});
|
||||
} else {
|
||||
setTags([]);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -328,15 +328,13 @@ export const getOwnerIds = (
|
||||
if (filter === Ownership.OWNER) {
|
||||
if (!isEmpty(userDetails)) {
|
||||
return [
|
||||
...(userDetails.teams?.map((team) => team.id) as Array<string>),
|
||||
...(userDetails.teams?.map((team) => team.id) || []),
|
||||
userDetails.id,
|
||||
];
|
||||
} else {
|
||||
if (!isEmpty(nonSecureUserDetails)) {
|
||||
return [
|
||||
...(nonSecureUserDetails.teams?.map(
|
||||
(team) => team.id
|
||||
) as Array<string>),
|
||||
...(nonSecureUserDetails.teams?.map((team) => team.id) || []),
|
||||
nonSecureUserDetails.id,
|
||||
];
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user