From b75d378c746713be43df0a0494ecc2fa4d07e888 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 22 Aug 2020 16:30:31 +0200 Subject: [PATCH] Lint Fixes --- src/renderer/views/Search/Search.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/renderer/views/Search/Search.js b/src/renderer/views/Search/Search.js index ef4ee104..96540404 100644 --- a/src/renderer/views/Search/Search.js +++ b/src/renderer/views/Search/Search.js @@ -138,7 +138,7 @@ export default Vue.extend({ if (video.uploaded_at !== null) { 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) } returnDataInvidious.push( @@ -159,8 +159,7 @@ export default Vue.extend({ paid: false, premium: false, isUpcoming: false, - timeText: video.duration, - test: "test" + timeText: video.duration } ) } else {