mirror of https://github.com/FreeTubeApp/FreeTube
Disable quick bookmark button on Quick Bookmark playlist
This commit is contained in:
parent
c931596ed9
commit
0d8ce5caad
|
@ -39,6 +39,10 @@ export default defineComponent({
|
||||||
required: false,
|
required: false,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
|
quickBookmarkButtonEnabled: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listType: function () {
|
listType: function () {
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
:show-video-with-last-viewed-playlist="showVideoWithLastViewedPlaylist"
|
:show-video-with-last-viewed-playlist="showVideoWithLastViewedPlaylist"
|
||||||
:use-channels-hidden-preference="useChannelsHiddenPreference"
|
:use-channels-hidden-preference="useChannelsHiddenPreference"
|
||||||
:hide-forbidden-titles="hideForbiddenTitles"
|
:hide-forbidden-titles="hideForbiddenTitles"
|
||||||
|
:quick-bookmark-button-enabled="quickBookmarkButtonEnabled"
|
||||||
:search-query-text="searchQueryText"
|
:search-query-text="searchQueryText"
|
||||||
/>
|
/>
|
||||||
</ft-auto-grid>
|
</ft-auto-grid>
|
||||||
|
|
|
@ -52,6 +52,10 @@ export default defineComponent({
|
||||||
required: false,
|
required: false,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
|
quickBookmarkButtonEnabled: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
:appearance="appearance"
|
:appearance="appearance"
|
||||||
:data="data"
|
:data="data"
|
||||||
:show-video-with-last-viewed-playlist="showVideoWithLastViewedPlaylist"
|
:show-video-with-last-viewed-playlist="showVideoWithLastViewedPlaylist"
|
||||||
|
:quick-bookmark-button-enabled="quickBookmarkButtonEnabled"
|
||||||
/>
|
/>
|
||||||
<ft-list-channel
|
<ft-list-channel
|
||||||
v-else-if="finalDataType === 'channel'"
|
v-else-if="finalDataType === 'channel'"
|
||||||
|
|
|
@ -69,6 +69,7 @@
|
||||||
:show-video-with-last-viewed-playlist="true"
|
:show-video-with-last-viewed-playlist="true"
|
||||||
:use-channels-hidden-preference="false"
|
:use-channels-hidden-preference="false"
|
||||||
:hide-forbidden-titles="false"
|
:hide-forbidden-titles="false"
|
||||||
|
:quick-bookmark-button-enabled="quickBookmarkButtonEnabled"
|
||||||
/>
|
/>
|
||||||
<transition-group
|
<transition-group
|
||||||
v-else
|
v-else
|
||||||
|
|
Loading…
Reference in New Issue