From 225ec6f5edcd55f8426944d66136f23a4baf7d8a Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 13 Feb 2021 15:39:13 +0900 Subject: [PATCH] fix #7189 --- src/client/components/sample.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/sample.vue b/src/client/components/sample.vue index 8fd79ceec..0f29fc69b 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.` } },