Don't display "display more" with result type
This commit is contained in:
parent
040d86cc8d
commit
36dd81b498
|
@ -54,9 +54,9 @@
|
|||
<video-result :video="video"></video-result>
|
||||
</div>
|
||||
|
||||
<div class="mb-5 text-center">
|
||||
<div v-if="!hasResultTypeFilter()" class="mb-5 text-center">
|
||||
<router-link
|
||||
v-if="totalVideos > summaryResultsCount.videos"
|
||||
v-if="!hasResultTypeFilter() && totalVideos > summaryResultsCount.videos"
|
||||
class="peertube-button peertube-button-link peertube-secondary-button"
|
||||
:to="{ path: '/search', query: { ...getMoreResultsQuery('videos') } }"
|
||||
>
|
||||
|
@ -80,7 +80,7 @@
|
|||
|
||||
<div class="mb-5 text-center">
|
||||
<router-link
|
||||
v-if="totalChannels > summaryResultsCount.channels"
|
||||
v-if="!hasResultTypeFilter() && totalChannels > summaryResultsCount.channels"
|
||||
class="peertube-button peertube-button-link peertube-secondary-button"
|
||||
:to="{ path: '/search', query: { ...getMoreResultsQuery('channels') } }"
|
||||
>
|
||||
|
@ -104,7 +104,7 @@
|
|||
|
||||
<div class="mb-5 text-center">
|
||||
<router-link
|
||||
v-if="totalPlaylists > summaryResultsCount.playlists"
|
||||
v-if="!hasResultTypeFilter() && totalPlaylists > summaryResultsCount.playlists"
|
||||
class="peertube-button peertube-button-link peertube-secondary-button"
|
||||
:to="{ path: '/search', query: { ...getMoreResultsQuery('playlists') } }"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue