feat: Conversation transcript in widget (#2549)

This commit is contained in:
Muhsin Keloth
2021-07-13 11:31:21 +05:30
committed by GitHub
parent fc4ef1595b
commit 15085cfb98
13 changed files with 200 additions and 46 deletions

View File

@@ -26,6 +26,10 @@ export default {
computed: {
buttonClassName() {
let className = 'text-white py-3 px-4 rounded shadow-sm';
if (this.type === 'clear') {
className = 'flex mx-auto mt-4 text-xs w-auto text-black-600';
}
if (this.type === 'blue' && !Object.keys(this.buttonStyles).length) {
className = `${className} bg-woot-500 hover:bg-woot-700`;
}