summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2019-03-16 18:00:23 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-03-16 18:00:23 +0900
commitaf66f0a49789f72f249d60df4f81bccad780d9d5 (patch)
tree504259f7fbf88241f7821a611db1e10d334aabf2 /src/client
parentupdatePersonを試行した時点でもlastFetchedAtを更新する (#4510) (diff)
downloadmisskey-af66f0a49789f72f249d60df4f81bccad780d9d5.tar.gz
misskey-af66f0a49789f72f249d60df4f81bccad780d9d5.tar.bz2
misskey-af66f0a49789f72f249d60df4f81bccad780d9d5.zip
Fix #3504 (#4513)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/desktop/views/components/post-form.vue2
-rw-r--r--src/client/app/mobile/views/components/post-form.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue
index 178b7ad7a7..6ba4d47087 100644
--- a/src/client/app/desktop/views/components/post-form.vue
+++ b/src/client/app/desktop/views/components/post-form.vue
@@ -480,7 +480,7 @@ export default Vue.extend({
});
if (this.text && this.text != '') {
- const hashtags = parse(this.text).filter(x => x.type == 'hashtag').map(x => x.hashtag);
+ const hashtags = parse(this.text).filter(x => x.node.type === 'hashtag').map(x => x.node.props.hashtag);
const history = JSON.parse(localStorage.getItem('hashtags') || '[]') as string[];
localStorage.setItem('hashtags', JSON.stringify(unique(hashtags.concat(history))));
}
diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue
index 97391893a3..9c1072b4a3 100644
--- a/src/client/app/mobile/views/components/post-form.vue
+++ b/src/client/app/mobile/views/components/post-form.vue
@@ -367,7 +367,7 @@ export default Vue.extend({
});
if (this.text && this.text != '') {
- const hashtags = parse(this.text).filter(x => x.type == 'hashtag').map(x => x.hashtag);
+ const hashtags = parse(this.text).filter(x => x.node.type === 'hashtag').map(x => x.node.props.hashtag);
const history = JSON.parse(localStorage.getItem('hashtags') || '[]') as string[];
localStorage.setItem('hashtags', JSON.stringify(unique(hashtags.concat(history))));
}