From 972551e838a772df38eae556690fafd8c72015b9 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Sun, 16 Nov 2014 16:38:01 +0300 Subject: [PATCH] nitpick --- lib/GUI/index.hbs | 2 +- lib/index-web.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/GUI/index.hbs b/lib/GUI/index.hbs index 37730c494..cd2585377 100644 --- a/lib/GUI/index.hbs +++ b/lib/GUI/index.hbs @@ -4,7 +4,7 @@ {{ name }} - + diff --git a/lib/index-web.js b/lib/index-web.js index db2f0327c..c5d8463eb 100644 --- a/lib/index-web.js +++ b/lib/index-web.js @@ -42,7 +42,7 @@ module.exports = function(config, auth, storage) { storage.get_local(function(err, packages) { if (err) throw err // that function shouldn't produce any next(template({ - name: config.web.title || 'Sinopia', + name: config.web && config.web.title ? config.web.title : 'Sinopia', packages: packages.filter(allow), baseUrl: base, username: req.remote_user.name,