refresh movie button now only shown if logged in

This commit is contained in:
Edward Tirado Jr 2025-04-23 16:14:15 -05:00
parent a1a80a42da
commit 5263b1db5f

View file

@ -20,7 +20,11 @@
@close-modal="$emit('close-modal')"
/>
<button class="my-10 btn p-2 rounded" @click="updateMovie">
<button
v-if="logged_in"
class="my-10 btn p-2 rounded"
@click="updateMovie"
>
Refresh movie
</button>
</div>