Sfoglia il codice sorgente

Don't show letter in avatar icon if there is a picture for the account

sbkwgh 7 anni fa
parent
commit
d0d8a6ffd4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      frontend/src/components/AvatarIcon.vue

+ 1 - 1
frontend/src/components/AvatarIcon.vue

@@ -71,7 +71,7 @@
 				return {};
 			},
 			letter () {
-				if(this.proxyUser.username) {
+				if(this.proxyUser.username && !this.proxyUser.picture) {
 					return this.proxyUser.username[0].toUpperCase();
 				} else {
 					return '';