From 1b7d3917ed009f79f44e557fc20aa34cdba3ff33 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Wed, 21 Feb 2018 14:58:00 +0000 Subject: [PATCH] Update Front chat widget according to latest config changes. --- services/web/app/views/project/list/front-chat.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/project/list/front-chat.pug b/services/web/app/views/project/list/front-chat.pug index 765bddc42a..7f0939de29 100644 --- a/services/web/app/views/project/list/front-chat.pug +++ b/services/web/app/views/project/list/front-chat.pug @@ -1,4 +1,4 @@ -- if (settings.overleaf && settings.front && settings.front.chat_room_id != null) +- if (settings.overleaf && settings.overleaf.front_chat_widget_room_id != null) script. - window.FCSP = '#{settings.front.chat_room_id}'; + window.FCSP = '#{settings.overleaf.front_chat_widget_room_id}'; script(src="https://chat-assets.frontapp.com/v1/chat.bundle.js") \ No newline at end of file