Movie title also gets a loading placeholder before we get a respons. (Loadingplaceholder are grey pulsing bars that indicate where content is going to load)

This commit is contained in:
2019-10-21 19:50:13 +02:00
parent a9d3246b97
commit 931918c60b

View File

@@ -20,7 +20,8 @@
</figure>
<div class="movie__title">
<h1>{{ title }}</h1>
<h1 v-if="movie">{{ movie.title }}</h1>
<loading-placeholder v-else :count="1" />
</div>
</div>
</header>