summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2021-02-13 15:39:13 +0900
committersyuilo <syuilotan@yahoo.co.jp>2021-02-13 15:39:13 +0900
commit225ec6f5edcd55f8426944d66136f23a4baf7d8a (patch)
tree34f0cfb9ff802d4f0337ec99847f506a3288253e /src/client
parentrefactor: resolve #7139 (diff)
downloadsharkey-225ec6f5edcd55f8426944d66136f23a4baf7d8a.tar.gz
sharkey-225ec6f5edcd55f8426944d66136f23a4baf7d8a.tar.bz2
sharkey-225ec6f5edcd55f8426944d66136f23a4baf7d8a.zip
fix #7189
Diffstat (limited to 'src/client')
-rw-r--r--src/client/components/sample.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/sample.vue b/src/client/components/sample.vue
index 8fd79ceec9..0f29fc69bb 100644
--- a/src/client/components/sample.vue
+++ b/src/client/components/sample.vue
@@ -51,7 +51,7 @@ export default defineComponent({
text: '',
flag: true,
radio: 'misskey',
- mfm: `Hello world! This is an @example mention. BTW you are @${this.$i.username}.\nAlso, here is ${config.url} and [example link](${config.url}). for more details, see https://example.com.\nAs you know #misskey is open-source software.`
+ mfm: `Hello world! This is an @example mention. BTW you are @${this.$i ? this.$i.username : 'guest'}.\nAlso, here is ${config.url} and [example link](${config.url}). for more details, see https://example.com.\nAs you know #misskey is open-source software.`
}
},