mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-19 05:52:20 +00:00
Fix : Getting redundant tier tags on recently viewed cards on my data page. (#1231)
This commit is contained in:
parent
63089bab56
commit
689490692b
@ -70,7 +70,9 @@ const TableDataCard: FunctionComponent<Props> = ({
|
||||
];
|
||||
|
||||
const getAssetTags = () => {
|
||||
const assetTags = [...(tags as Array<string>)];
|
||||
const assetTags = [
|
||||
...(tags as Array<string>).filter((tag) => !tag.includes(tier)),
|
||||
];
|
||||
if (tier) {
|
||||
assetTags.unshift(tier);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user