This commit is contained in:
syuilo 2019-02-20 07:08:54 +09:00
parent 47bf06f432
commit 9aa24c0552
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
4 changed files with 18 additions and 1 deletions

View file

@ -4,6 +4,7 @@ ChangeLog
10.87.4
----------
* フォローリクエストを許可するときにエラーになる問題を修正
* デザインの調整
10.87.3
----------

View file

@ -9,7 +9,7 @@
</div>
</ui-container>
<ui-container :body-togglable="true">
<ui-container :body-togglable="true" ref="tags">
<template #header><fa :icon="faHashtag" fixed-width/>{{ $t('popular-tags') }}</template>
<div class="vxjfqztj">
@ -114,6 +114,12 @@ export default Vue.extend({
},
},
watch: {
tag() {
if (this.$refs.tags) this.$refs.tags.toggleContent(this.tag == null);
}
},
created() {
this.$root.api('hashtags/list', {
sort: '+attachedLocalUsers',

View file

@ -40,6 +40,11 @@ export default Vue.extend({
return {
showBody: true
};
},
methods: {
toggleContent(show: boolean) {
this.showBody = show;
}
}
});
</script>

View file

@ -35,6 +35,11 @@ export default Vue.extend({
return {
showBody: true
};
},
methods: {
toggleContent(show: boolean) {
this.showBody = show;
}
}
});
</script>