Respect config map list heading

This commit is contained in:
James Lyne 2020-12-15 22:11:29 +00:00
parent 37c1766e6f
commit e23842574d

View File

@ -1,6 +1,6 @@
<template>
<section class="sidebar__section">
<span class="section__heading">Maps</span>
<span class="section__heading">{{ heading }}</span>
<ul class="section__content">
<WorldListItem :world="world" v-for="[name, world] in worlds" :key="name"></WorldListItem>
</ul>
@ -19,6 +19,10 @@ export default defineComponent({
},
computed: {
heading() {
return useStore().state.messages.mapTypes;
},
worlds() {
return useStore().state.worlds;
}