aboutsummaryrefslogtreecommitdiff
path: root/src/components/mention_link
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-08-12 19:37:04 +0300
committerHenry Jameson <me@hjkos.com>2021-08-12 19:37:04 +0300
commitadd5921b8b3579b153bef6ee2b1916227016d200 (patch)
treec5fc2ce90fa2cc43ca036c50dec464c5d9142264 /src/components/mention_link
parent2182af405864cffcc7ddca8d373cc14f38770c9e (diff)
fix tests, add performance test (skipped, doesn't assert anything),
tweak max mentions count
Diffstat (limited to 'src/components/mention_link')
-rw-r--r--src/components/mention_link/mention_link.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/mention_link/mention_link.js b/src/components/mention_link/mention_link.js
index a60a8040..4d27fe6d 100644
--- a/src/components/mention_link/mention_link.js
+++ b/src/components/mention_link/mention_link.js
@@ -41,7 +41,7 @@ const MentionLink = {
},
computed: {
user () {
- return this.url && this.$store.getters.findUserByUrl(this.url)
+ return this.url && this.$store && this.$store.getters.findUserByUrl(this.url)
},
isYou () {
// FIXME why user !== currentUser???