This commit is contained in:
syuilo
2019-02-20 07:08:54 +09:00
parent 47bf06f432
commit 9aa24c0552
4 changed files with 18 additions and 1 deletions

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',