diff --git a/catalog-rest-service/src/main/resources/ui/src/components/common/table-data-card/TableDataCard.tsx b/catalog-rest-service/src/main/resources/ui/src/components/common/table-data-card/TableDataCard.tsx index aacc4fb8053..fdadb467734 100644 --- a/catalog-rest-service/src/main/resources/ui/src/components/common/table-data-card/TableDataCard.tsx +++ b/catalog-rest-service/src/main/resources/ui/src/components/common/table-data-card/TableDataCard.tsx @@ -70,11 +70,9 @@ const TableDataCard: FunctionComponent = ({ ]; const getAssetTags = () => { - const assetTags = [ - ...(tags as Array).filter((tag) => !tag.includes(tier)), - ]; + const assetTags = [...(tags as Array)]; if (tier) { - assetTags.unshift(tier); + assetTags.filter((tag) => !tag.includes(tier)).unshift(tier); } return [...new Set(assetTags)];