diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2021-02-13 15:39:13 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2021-02-13 15:39:13 +0900 |
| commit | 225ec6f5edcd55f8426944d66136f23a4baf7d8a (patch) | |
| tree | 34f0cfb9ff802d4f0337ec99847f506a3288253e /src/client | |
| parent | refactor: resolve #7139 (diff) | |
| download | sharkey-225ec6f5edcd55f8426944d66136f23a4baf7d8a.tar.gz sharkey-225ec6f5edcd55f8426944d66136f23a4baf7d8a.tar.bz2 sharkey-225ec6f5edcd55f8426944d66136f23a4baf7d8a.zip | |
fix #7189
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/components/sample.vue | 2 |
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.` } }, |