Chatwoot/app/javascript/shared/mixins/globalConfigMixin.js
Pranav Raj S f819bc0f33
Chore: Use installation config in frontend (#847)
* Use installation config in widget
* Add configuration for installation in UI
* Add config for mailer

Co-authored-by: Sojan <sojan@pepalo.com>
2020-05-12 01:31:40 +05:30

7 lines
156 B
JavaScript

export default {
methods: {
useInstallationName(str = '', installationName) {
return str.replace(/Chatwoot/g, installationName);
},
},
};