From 0929aa3fd55c79be581efd7a39d7fb777b8dcc92 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 11 Apr 2019 10:33:25 +0200 Subject: [PATCH] Fix undefined email in the contact page --- customize.dist/pages/contact.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customize.dist/pages/contact.js b/customize.dist/pages/contact.js index 20e927273..83ee5b8f0 100644 --- a/customize.dist/pages/contact.js +++ b/customize.dist/pages/contact.js @@ -13,7 +13,7 @@ define([ ) ]), h('div.container.cp-container', [ - Config.adminEmail !== 'i.did.not.read.my.config@cryptpad.fr' ? h('div.row.cp-iconCont.align-items-center', [ + Config.adminEmail && Config.adminEmail !== 'i.did.not.read.my.config@cryptpad.fr' ? h('div.row.cp-iconCont.align-items-center', [ h('div.col-12', Pages.setHTML(h('h4.text-center'), Msg.contact_admin), h('p', Msg.contact_adminHint)