fix(front): null error in admin albums
This commit is contained in:
parent
000dd3e55d
commit
8cd951ad78
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue