Skip to content

Commit

Permalink
chore(NcUserStatusIcon): remove warn if status is not set
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <[email protected]>
  • Loading branch information
ShGKme committed Jun 17, 2024
1 parent a817959 commit 5b2304d
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 5b2304d

Please sign in to comment.