From 08c97b10a1d171149e8a7d72669edfa4941d460c Mon Sep 17 00:00:00 2001 From: freearhey Date: Wed, 7 Aug 2019 16:20:56 +0300 Subject: [PATCH] Added check channel data --- helpers/util.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers/util.js b/helpers/util.js index acd03a452..086742544 100644 --- a/helpers/util.js +++ b/helpers/util.js @@ -24,9 +24,9 @@ class Playlist { class Channel { constructor(data) { - this.id = data.id - this.name = data.name - this.logo = data.logo + this.id = data.id || '' + this.name = data.name || '' + this.logo = data.logo || '' this.group = this._getGroup(data.group) this.url = data.url this.title = data.title