Skip to content

Commit 4307b27

Browse files
committed
feat: hide english tags
1 parent 85727a7 commit 4307b27

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

angular-hub/src/app/components/cards/podcast-card.component.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ import { TagComponent } from '../tag.component';
2929
>
3030
{{ podcast().name }}
3131
</h3>
32-
<app-tag [title]="podcast().language" />
32+
@if (podcast().language !== 'English') {
33+
<span
34+
class="inline-flex items-center justify-center gap-1 bg-[#20212C] border-[#3e4056] border-2 rounded px-2 py-1 mt-1 text-sm"
35+
>
36+
<i class="pi pi-language text-sm" aria-hidden="true"></i>
37+
{{ podcast().language }}
38+
</span>
39+
}
3340
</div>
3441
</a>
3542
</article>

0 commit comments

Comments
 (0)