Skip to content

Commit

Permalink
Merge pull request #5715 from nextcloud-libraries/chore/NcUserStatusI…
Browse files Browse the repository at this point in the history
…con--remove-warn

chore(NcUserStatusIcon): remove warn if status is not set
  • Loading branch information
susnux authored Jun 20, 2024
2 parents 5beec9c + 5b2304d commit 47aebdc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/NcUserStatusIcon/NcUserStatusIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ This component displays a user status icon.
</template>

<script>
import Vue from 'vue'
import axios from '@nextcloud/axios'
import { generateOcsUrl } from '@nextcloud/router'
import { getCapabilities } from '@nextcloud/capabilities'
Expand Down Expand Up @@ -148,12 +147,6 @@ export default {
},
},
},
mounted() {
if (!this.user && !this.status) {
Vue.util.warn('[NcUserStatusIcon] The `user` or `status` prop should be set.')
}
},
}
</script>
Expand Down

0 comments on commit 47aebdc

Please sign in to comment.