Skip to content
Snippets Groups Projects

Consolidate user avatar Vue logic

Merged username-removed-408230 requested to merge user-avatar-vue-ce into master
All threads resolved!
2 files
+ 3
11
Compare changes
  • Side-by-side
  • Inline
Files
2
export default {
computed: {
avatarSizeStylesMapString() {
return this.size ? `{ width: '${this.size}px', height: '${this.size}px';` : '{}';
return this.size ? `{ width: '${this.size}px', height: '${this.size}px' }` : '{}';
},
avatarSizeClass() {
return this.size ? `s${this.size}` : '';
Loading