diff --git a/components/ui/Chat/TypingIndicator/TypingIndicator.vue b/components/ui/Chat/TypingIndicator/TypingIndicator.vue index 2ccede3e42..2f5954259c 100644 --- a/components/ui/Chat/TypingIndicator/TypingIndicator.vue +++ b/components/ui/Chat/TypingIndicator/TypingIndicator.vue @@ -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 !== 0) { return 1 } if (this.users.length > 3) { diff --git a/components/views/settings/pages/realms/realm/index.vue b/components/views/settings/pages/realms/realm/index.vue index 51c822a411..25d0ab3517 100644 --- a/components/views/settings/pages/realms/realm/index.vue +++ b/components/views/settings/pages/realms/realm/index.vue @@ -9,7 +9,7 @@ export default Vue.extend({ props: { realm: { type: Object as PropType, - default: {}, + default: () => ({}), }, }, computed: {