Skip to content

Commit a71467b

Browse files
committed
Minor(modeling-commons): Remove public visibility badges from models
1 parent 97d2515 commit a71467b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • apps/modeling-commons-frontend/app/components/model/card

apps/modeling-commons-frontend/app/components/model/card/ModelCard.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ const imageSrc = computed(() =>
5050
const badges = computed<BadgeProps[]>(() => {
5151
const result: BadgeProps[] = [];
5252
if (props.card.model.isEndorsed) {
53-
result.push({ icon: "i-lucide-award", label: "Featured" });
53+
result.push({ icon: "i-lucide-award", label: "Featured", variant: "outline" });
5454
}
5555
if (props.card.model.parentModelId) {
56-
result.push({ icon: "i-lucide-git-branch", label: "Derived" });
56+
result.push({ icon: "i-lucide-git-branch", label: "Derived", variant: "outline" });
5757
}
58+
if (props.card.model.visibility === "public") return result;
5859
result.push({
5960
icon: getVisibilityIcon(props.card.model.visibility),
6061
variant: "solid",

0 commit comments

Comments
 (0)