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.4
---------- ----------
* フォローリクエストを許可するときにエラーになる問題を修正 * フォローリクエストを許可するときにエラーになる問題を修正
* デザインの調整
10.87.3 10.87.3
---------- ----------

View File

@ -9,7 +9,7 @@
</div> </div>
</ui-container> </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> <template #header><fa :icon="faHashtag" fixed-width/>{{ $t('popular-tags') }}</template>
<div class="vxjfqztj"> <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() { created() {
this.$root.api('hashtags/list', { this.$root.api('hashtags/list', {
sort: '+attachedLocalUsers', sort: '+attachedLocalUsers',

View File

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

View File

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