Lint Fixes

This commit is contained in:
Luca 2020-08-22 16:30:31 +02:00
parent f174fe1c9e
commit b75d378c74
1 changed files with 2 additions and 3 deletions

View File

@ -138,7 +138,7 @@ export default Vue.extend({
if (video.uploaded_at !== null) { if (video.uploaded_at !== null) {
publishDate = ytTrendScraper.calculate_published(video.uploaded_at, Date.now()) publishDate = ytTrendScraper.calculate_published(video.uploaded_at, Date.now())
} }
if(video.duration !== null) { if (video.duration !== null) {
videoDuration = ytTrendScraper.calculate_length_in_seconds(video.duration) videoDuration = ytTrendScraper.calculate_length_in_seconds(video.duration)
} }
returnDataInvidious.push( returnDataInvidious.push(
@ -159,8 +159,7 @@ export default Vue.extend({
paid: false, paid: false,
premium: false, premium: false,
isUpcoming: false, isUpcoming: false,
timeText: video.duration, timeText: video.duration
test: "test"
} }
) )
} else { } else {