FreeTube/src/renderer/components/ft-list-dropdown/ft-list-dropdown.js

36 lines
582 B
JavaScript

import Vue from 'vue'
export default Vue.extend({
name: 'FtListDropdown',
props: {
title: {
type: String,
required: true
},
labelNames: {
type: Array,
required: true
},
labelValues: {
type: Array,
required: true
}
},
data: function () {
return {
id: '',
thumbnail: '',
channelName: '',
subscriberCount: 0,
videoCount: '',
uploadedTime: '',
description: ''
}
},
computed: {
listType: function () {
return this.$store.getters.getListType
}
}
})