From b28606ce3e8f9c6e20faabab91074895314bd62d Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Tue, 17 Jan 2023 17:23:49 +0100 Subject: [PATCH] Fix warnings --- packages/design-system/src/components/OcAvatar/OcAvatar.vue | 5 ----- packages/design-system/src/components/OcList/OcList.vue | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/design-system/src/components/OcAvatar/OcAvatar.vue b/packages/design-system/src/components/OcAvatar/OcAvatar.vue index b61b720fe14..fdd2df37e31 100644 --- a/packages/design-system/src/components/OcAvatar/OcAvatar.vue +++ b/packages/design-system/src/components/OcAvatar/OcAvatar.vue @@ -120,11 +120,6 @@ export default defineComponent({ return '' } }, - mounted() { - if (!this.isImage) { - this.$emit('avatar-initials', this.userName, this.userInitial) - } - }, methods: { onImgError() { this.imgError = true diff --git a/packages/design-system/src/components/OcList/OcList.vue b/packages/design-system/src/components/OcList/OcList.vue index 0d9cb7502c1..896f2747411 100644 --- a/packages/design-system/src/components/OcList/OcList.vue +++ b/packages/design-system/src/components/OcList/OcList.vue @@ -1,5 +1,5 @@