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

View File

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

View File

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