Skip to content
Snippets Groups Projects
Commit 4d67ddc7 authored by Sander August Heggland Schrader's avatar Sander August Heggland Schrader
Browse files

Removed notification when on messages page

parent 99940148
No related branches found
No related tags found
1 merge request!119New chat2
Pipeline #180964 failed
......@@ -84,6 +84,7 @@ export default {
},
created() {
ws.on('NEW_MESSAGE', () => {
if(this.$router.currentRoute.value.name == 'messages') return;
this.newMessages += 1;
}, "header");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment