Update Front chat widget according to latest config changes.

This commit is contained in:
Paulo Reis 2018-02-21 14:58:00 +00:00
parent 0371aaaf05
commit 1b7d3917ed

View file

@ -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")