mirror of
https://github.com/devfake/flox.git
synced 2024-11-14 22:22:39 +01:00
show add button for watchlist items if rating is disabled (#103)
This commit is contained in:
parent
345c5ef579
commit
9a66341456
@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div>
|
||||
<span v-if="item.rating != null" :class="'item-rating rating-' + item.rating" @click="changeRating()">
|
||||
<span v-if="item.rating != null && ! item.watchlist" :class="'item-rating rating-' + item.rating" @click="changeRating()">
|
||||
<i class="icon-rating"></i>
|
||||
</span>
|
||||
<span v-if="item.rating == null && item.tmdb_id && ! localRated && auth" class="item-rating item-new" @click="addNewItem()">
|
||||
<span v-if="(item.rating == null || item.watchlist) && item.tmdb_id && auth && ! localRated" class="item-rating item-new" @click="addNewItem()">
|
||||
<i class="icon-add"></i>
|
||||
</span>
|
||||
<span v-if="(item.rating == null || item.watchlist) && item.tmdb_id && localRated" class="item-rating item-new">
|
||||
<span v-if="item.rating == null && item.tmdb_id && localRated" class="item-rating item-new">
|
||||
<span class="loader smallsize-loader"><i></i></span>
|
||||
</span>
|
||||
</div>
|
||||
@ -73,4 +73,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user