parent
8e59564793
commit
a1a81e3799
44 changed files with 918 additions and 33 deletions
8
app/javascript/shared/mixins/alertMixin.js
Normal file
8
app/javascript/shared/mixins/alertMixin.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* global bus */
|
||||
export default {
|
||||
methods: {
|
||||
showAlert(message) {
|
||||
bus.$emit('newToastMessage', message);
|
||||
},
|
||||
},
|
||||
};
|
7
app/javascript/shared/mixins/configMixin.js
Normal file
7
app/javascript/shared/mixins/configMixin.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
export default {
|
||||
computed: {
|
||||
hostURL() {
|
||||
return window.chatwootConfig.hostURL;
|
||||
},
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue