This commit is contained in:
syuilo 2019-02-20 10:15:06 +09:00
parent 61aef56f83
commit c1e7d56ff8
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
3 changed files with 11 additions and 3 deletions

View File

@ -9,7 +9,7 @@
</div>
</ui-container>
<ui-container :body-togglable="true" ref="tags">
<ui-container :body-togglable="true" :expanded="tag == null" ref="tags">
<template #header><fa :icon="faHashtag" fixed-width/>{{ $t('popular-tags') }}</template>
<div class="vxjfqztj">

View File

@ -30,6 +30,10 @@ export default Vue.extend({
type: Boolean,
default: false
},
expanded: {
type: Boolean,
default: true
},
},
inject: {
inDeck: {
@ -38,7 +42,7 @@ export default Vue.extend({
},
data() {
return {
showBody: true
showBody: this.expanded
};
},
methods: {

View File

@ -30,10 +30,14 @@ export default Vue.extend({
type: Boolean,
default: false
},
expanded: {
type: Boolean,
default: true
},
},
data() {
return {
showBody: true
showBody: this.expanded
};
},
methods: {