We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97d2515 commit a71467bCopy full SHA for a71467b
1 file changed
apps/modeling-commons-frontend/app/components/model/card/ModelCard.vue
@@ -50,11 +50,12 @@ const imageSrc = computed(() =>
50
const badges = computed<BadgeProps[]>(() => {
51
const result: BadgeProps[] = [];
52
if (props.card.model.isEndorsed) {
53
- result.push({ icon: "i-lucide-award", label: "Featured" });
+ result.push({ icon: "i-lucide-award", label: "Featured", variant: "outline" });
54
}
55
if (props.card.model.parentModelId) {
56
- result.push({ icon: "i-lucide-git-branch", label: "Derived" });
+ result.push({ icon: "i-lucide-git-branch", label: "Derived", variant: "outline" });
57
58
+ if (props.card.model.visibility === "public") return result;
59
result.push({
60
icon: getVisibilityIcon(props.card.model.visibility),
61
variant: "solid",
0 commit comments