Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Jan 17, 2023
1 parent 11d97b1 commit b28606c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions packages/design-system/src/components/OcAvatar/OcAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/src/components/OcList/OcList.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ul :ref="ref" class="oc-list oc-my-rm oc-mx-rm" :class="{ 'oc-list-raw': raw }">
<ul class="oc-list oc-my-rm oc-mx-rm" :class="{ 'oc-list-raw': raw }">
<slot />
</ul>
</template>
Expand Down

0 comments on commit b28606c

Please sign in to comment.