diff --git a/components/Avatar.vue b/components/Avatar.vue index ddfe1dc..eafd81b 100644 --- a/components/Avatar.vue +++ b/components/Avatar.vue @@ -3,8 +3,9 @@ class="display-avatar" :src="displayAvatar" :alt="displayName" /> - @@ -28,10 +29,6 @@ if (user) { if (user.avatar) { displayAvatar = user.avatar - } else if (!isCanvasBlocked()){ - displayAvatar = generateDefaultIcon(displayName, user.uuid) - } else { - displayAvatar = null } } diff --git a/components/DefaultIcon.vue b/components/DefaultIcon.vue new file mode 100644 index 0000000..31eaa6e --- /dev/null +++ b/components/DefaultIcon.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/layouts/client.vue b/layouts/client.vue index 48a7f66..15907c4 100644 --- a/layouts/client.vue +++ b/layouts/client.vue @@ -17,19 +17,15 @@
- + - - + :name="guild.name" :seed="guild.uuid"/>
@@ -52,6 +48,7 @@