Skip to content

Commit

Permalink
Merge pull request #5744 from nextcloud-libraries/backport/5715/next
Browse files Browse the repository at this point in the history
[next] chore(NcUserStatusIcon): remove warn if status is not set
  • Loading branch information
ShGKme authored Jul 1, 2024
2 parents e64db73 + 24bef20 commit ffdc4dc
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 { warn } 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) {
warn('[NcUserStatusIcon] The `user` or `status` prop should be set.')
}
},
}
</script>
Expand Down

0 comments on commit ffdc4dc

Please sign in to comment.