mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-23 08:28:10 +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,
|
"watchForFileChanges": false,
|
||||||
"baseUrl": "http://localhost:8585",
|
"baseUrl": "http://localhost:8585",
|
||||||
"defaultCommandTimeout": 5000,
|
"defaultCommandTimeout": 5000,
|
||||||
"videoUploadOnPasses": false
|
"videoUploadOnPasses": false,
|
||||||
|
"chromeWebSecurity": false
|
||||||
}
|
}
|
||||||
|
@ -74,6 +74,8 @@ const TagsContainer: FunctionComponent<TagsContainerProps> = ({
|
|||||||
|
|
||||||
return updatedTags;
|
return updatedTags;
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
setTags([]);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -328,15 +328,13 @@ export const getOwnerIds = (
|
|||||||
if (filter === Ownership.OWNER) {
|
if (filter === Ownership.OWNER) {
|
||||||
if (!isEmpty(userDetails)) {
|
if (!isEmpty(userDetails)) {
|
||||||
return [
|
return [
|
||||||
...(userDetails.teams?.map((team) => team.id) as Array<string>),
|
...(userDetails.teams?.map((team) => team.id) || []),
|
||||||
userDetails.id,
|
userDetails.id,
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
if (!isEmpty(nonSecureUserDetails)) {
|
if (!isEmpty(nonSecureUserDetails)) {
|
||||||
return [
|
return [
|
||||||
...(nonSecureUserDetails.teams?.map(
|
...(nonSecureUserDetails.teams?.map((team) => team.id) || []),
|
||||||
(team) => team.id
|
|
||||||
) as Array<string>),
|
|
||||||
nonSecureUserDetails.id,
|
nonSecureUserDetails.id,
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user