Skip to content

Commit

Permalink
Merge pull request #4906 from nextcloud-libraries/fix/noid/ncuserbubble
Browse files Browse the repository at this point in the history
[next] fix(NcUserBubble): import warn correctly
  • Loading branch information
susnux authored Dec 3, 2023
2 parents 04947cc + fbf30d9 commit 2eead27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcUserBubble/NcUserBubble.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default {
import NcUserBubbleDiv from './NcUserBubbleDiv.vue'
import NcAvatar from '../NcAvatar/index.js'
import NcPopover from '../NcPopover/index.js'
import Vue from 'vue'
import { warn } from 'vue'

export default {
name: 'NcUserBubble',
Expand Down Expand Up @@ -260,7 +260,7 @@ export default {
},
mounted() {
if (!this.displayName && !this.user) {
Vue.util.warn('[NcUserBubble] At least `displayName` or `user` property should be set.')
warn('[NcUserBubble] At least `displayName` or `user` property should be set.')
}
},
methods: {
Expand Down

0 comments on commit 2eead27

Please sign in to comment.