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