feat: Show errors for message bubbles in dashboard (#3585)
This commit is contained in:
committed by
GitHub
parent
6fe5484119
commit
83655f4ca4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user