From 81bf68d374d34969a9614cc5b35f3ede1aff0b91 Mon Sep 17 00:00:00 2001 From: "peng.jianhua" Date: Fri, 19 Jan 2018 15:43:18 +0800 Subject: [PATCH 1/1] KYLIN-3182 Kylin Help is not available --- webapp/app/js/services/kylinProperties.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/app/js/services/kylinProperties.js b/webapp/app/js/services/kylinProperties.js index dc9b94d..3d0fb6b 100644 --- a/webapp/app/js/services/kylinProperties.js +++ b/webapp/app/js/services/kylinProperties.js @@ -100,7 +100,9 @@ KylinApp.service('kylinConfig', function (AdminService, $log) { _doc.name = this.getProperty("kylin.web.help." + i).trim().split("|")[0]; _doc.displayName = this.getProperty("kylin.web.help." + i).trim().split("|")[1]; _doc.link = this.getProperty("kylin.web.help." + i).trim().split("|")[2]; - Config.documents.push(_doc); + if (_doc.link != null && _doc.link != "") { + Config.documents.push(_doc); + } } } catch (e) { $log.error("failed to load kylin web info"); -- 2.7.2.windows.1