Skip to content

Commit

Permalink
fix(lint): refactor array length check
Browse files Browse the repository at this point in the history
  • Loading branch information
maljuburi authored and stavares843 committed Jun 7, 2022
1 parent 21e2a07 commit 79eac5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/Chat/TypingIndicator/TypingIndicator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default Vue.extend({
*/
methods: {
checkUsersTyping() {
if (this.users.length <= 3 && this.users.length !== 0) {
if (this.users.length <= 3 && this.users.length) {
return 1
}
if (this.users.length > 3) {
Expand Down

0 comments on commit 79eac5b

Please sign in to comment.