This commit is contained in:
syuilo 2019-02-20 07:08:54 +09:00
parent 73902ffd3b
commit e75ecb71fd
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>