瀏覽代碼

Updated Drift Config

Yoginth 7 年之前
父節點
當前提交
2da5866908
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      templates/base/verification.tmpl

+ 5 - 1
templates/base/verification.tmpl

@@ -38,12 +38,16 @@
     nickname: '{{.LoggedUser.FullName}}',
     email: '{{.LoggedUser.Email}}'
   });
+  {{end}}
   drift.config({
+    {{if .LoggedUser}}
     messages: {
       welcomeMessage: 'Hey {{.LoggedUser.FullName}}!\nHelp, feedback, or bugs? Talk to us 🌞',
     },
     backgroundColor: {{.Owner.ThemeColor}},
+    {{end}}
+    enableWelcomeMessage: false,
+    disableNewConversations: false,
   })
-  {{end}}
   drift.reset();
 </script>