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> </div>
</ui-container> </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> <template #header><fa :icon="faHashtag" fixed-width/>{{ $t('popular-tags') }}</template>
<div class="vxjfqztj"> <div class="vxjfqztj">

View File

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

View File

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