fix(front): null error in admin albums

This commit is contained in:
ArneBo 2025-05-03 23:39:43 +02:00 committed by Arne Bollinger
parent 000dd3e55d
commit 8cd951ad78
1 changed files with 2 additions and 0 deletions

View File

@ -205,6 +205,7 @@ const labels = computed(() => ({
</td>
<td>
<Link
v-if="scope.obj.artist_credit && scope.obj.artist_credit.length > 0 && scope.obj.artist_credit[0].artist"
icon="bi-wrench"
solid
square-small
@ -213,6 +214,7 @@ const labels = computed(() => ({
<span class="visually-hidden">{{ labels.openModeration }}</span>
</Link>
<a
v-if="scope.obj.artist_credit && scope.obj.artist_credit.length > 0 && scope.obj.artist_credit[0].artist"
href=""
class="discrete link"
:title="scope.obj.artist_credit[0].artist.name"