Skip to content

Commit 616d6c3

Browse files
committed
Update translations.blade.php
1 parent 66c8d26 commit 616d6c3

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

packages/localization/resources/views/filament/tables/columns/translations.blade.php

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@
77

88
<div class="flex">
99
@foreach($visibleFlags as $index => $flag)
10-
@if($flag == 'en')
11-
<div class="relative" style="margin-left: -{{ $index * 4 }}px">
12-
<x-dynamic-component :component="'flag-gb'" class="w-6 h-6 rounded-full" />
13-
</div>
14-
@else
15-
<div class="relative" style="margin-left: -{{ $index * 4 }}px">
16-
<x-dynamic-component :component="'flag-' . $flag" class="w-6 h-6 rounded-full" />
17-
</div>
18-
@endif
10+
<div class="relative" style="margin-left: -{{ $index * 4 }}px">
11+
<x-dynamic-component :component="$flag" class="w-6 h-6 rounded-full" />
12+
</div>
1913
@endforeach
2014

2115
@if($remainingFlags > 0)
@@ -26,4 +20,4 @@
2620
</div>
2721
@endif
2822
</div>
29-
</x-filament-forms::field-wrapper>
23+
</x-filament-forms::field-wrapper>

0 commit comments

Comments
 (0)