Add Published data to watch-video-info component

This commit is contained in:
Preston 2020-06-16 17:42:38 -04:00
parent 879f00321d
commit 72784a684b
3 changed files with 9 additions and 2 deletions

6
package-lock.json generated
View File

@ -17758,7 +17758,8 @@
}, },
"minimist": { "minimist": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
"dev": true "dev": true
}, },
"schema-utils": { "schema-utils": {
@ -20368,7 +20369,8 @@
}, },
"minimist": { "minimist": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
"dev": true "dev": true
}, },
"string-width": { "string-width": {

View File

@ -36,6 +36,10 @@ export default Vue.extend({
type: String, type: String,
required: true required: true
}, },
published: {
type: Number,
required: true
},
viewCount: { viewCount: {
type: Number, type: Number,
required: true required: true

View File

@ -25,6 +25,7 @@
:channel-id="channelId" :channel-id="channelId"
:channel-name="channelName" :channel-name="channelName"
:channel-thumbnail="channelThumbnail" :channel-thumbnail="channelThumbnail"
:published="videoPublished"
:subscription-count-text="channelSubscriptionCountText" :subscription-count-text="channelSubscriptionCountText"
:like-count="videoLikeCount" :like-count="videoLikeCount"
:dislike-count="videoDislikeCount" :dislike-count="videoDislikeCount"