refresh movie button now only shown if logged in
This commit is contained in:
parent
a1a80a42da
commit
5263b1db5f
1 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue