Ensure playlist data's available when displaying

This commit is contained in:
Maciej Pędzich 2022-07-05 13:41:53 +02:00
parent 9fcd7e7e14
commit 56e4828e80

View File

@ -47,7 +47,7 @@ const isNotFoundError = computed(
</span>
<span v-else>Something went wrong while fetching playlist's data</span>
</p>
<template v-else>
<template v-else-if="data">
<h1 class="text-3xl mb-3">
<NuxtLink :to="data.url" target="_blank">
{{ data.unique_name }}