From 4dcfc28f17342d26a24b864c944f0034f43d1d87 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 2 Sep 2020 22:59:16 +0200 Subject: [PATCH] Fix of the ft-video-list display since release from streams --- src/renderer/store/modules/utils.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/store/modules/utils.js b/src/renderer/store/modules/utils.js index bfa780fc..ba45e32f 100644 --- a/src/renderer/store/modules/utils.js +++ b/src/renderer/store/modules/utils.js @@ -269,6 +269,10 @@ const actions = { return payload.publishText } const strings = payload.publishText.split(' ') + // filters out the streamed x hours ago and removes the streamed in order to keep the rest of the code working + if (strings[0].toLowerCase() === 'streamed') { + strings.shift() + } const singular = (strings[0] === '1') let publicationString = payload.templateString.replace('$', strings[0]) switch (strings[1].substring(0, 2)) {