* #251 - Disable subscription in community edition * Hide billing routes in sidebar for community edition * Remove subscription serializer if billing disabled
This commit is contained in:
@@ -31,7 +31,8 @@
|
||||
<%= yield %>
|
||||
<script>
|
||||
window.chatwootConfig = {
|
||||
fbAppId: '<%= ENV['FB_APP_ID'] %>'
|
||||
fbAppId: '<%= ENV['FB_APP_ID'] %>',
|
||||
billingEnabled: '<%= ENV['BILLING_ENABLED'] %>'
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user