Skip to content

Commit

Permalink
fix(lint): refactored array length check
Browse files Browse the repository at this point in the history
  • Loading branch information
maljuburi committed Jun 6, 2022
1 parent 9fa3783 commit a4b11b4
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 a4b11b4

Please sign in to comment.