feat: Show errors for message bubbles in dashboard (#3585)

This commit is contained in:
Nithin David Thomas
2021-12-21 00:07:33 +05:30
committed by GitHub
parent 6fe5484119
commit 83655f4ca4
8 changed files with 110 additions and 53 deletions

View File

@@ -86,7 +86,7 @@ export default {
this.isExpanded ? 'expanded' : '',
];
},
withTextIconSize() {
iconSize() {
switch (this.size) {
case 'tiny':
return 12;
@@ -101,26 +101,6 @@ export default {
return 16;
}
},
withoutTextIconSize() {
switch (this.size) {
case 'tiny':
return 14;
case 'small':
return 16;
case 'medium':
return 18;
case 'large':
return 20;
default:
return 18;
}
},
iconSize() {
return this.hasOnlyIcon
? this.withoutTextIconSize
: this.withTextIconSize;
},
},
methods: {
handleClick(evt) {