refs #98 Set color from theme color in public
This commit is contained in:
parent
f7069e0738
commit
e7d008be36
@ -3,7 +3,7 @@
|
|||||||
<div class="public-timeline" v-for="message in timeline" v-bind:key="message.id">
|
<div class="public-timeline" v-for="message in timeline" v-bind:key="message.id">
|
||||||
<toot :message="message" v-on:update="updateToot"></toot>
|
<toot :message="message" v-on:update="updateToot"></toot>
|
||||||
</div>
|
</div>
|
||||||
<div class="loading-card" v-loading="lazyLoading">
|
<div class="loading-card" v-loading="lazyLoading" :element-loading-background="backgroundColor">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -18,7 +18,8 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState({
|
...mapState({
|
||||||
timeline: state => state.TimelineSpace.Contents.Public.timeline,
|
timeline: state => state.TimelineSpace.Contents.Public.timeline,
|
||||||
lazyLoading: state => state.TimelineSpace.Contents.Public.lazyLoading
|
lazyLoading: state => state.TimelineSpace.Contents.Public.lazyLoading,
|
||||||
|
backgroundColor: state => state.App.theme.background_color
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user