Explorar o código

Update Front chat widget according to latest config changes.

Paulo Reis %!s(int64=8) %!d(string=hai) anos
pai
achega
1b7d3917ed
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      services/web/app/views/project/list/front-chat.pug

+ 2 - 2
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")