Respect config map list heading
This commit is contained in:
parent
37c1766e6f
commit
e23842574d
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="sidebar__section">
|
<section class="sidebar__section">
|
||||||
<span class="section__heading">Maps</span>
|
<span class="section__heading">{{ heading }}</span>
|
||||||
<ul class="section__content">
|
<ul class="section__content">
|
||||||
<WorldListItem :world="world" v-for="[name, world] in worlds" :key="name"></WorldListItem>
|
<WorldListItem :world="world" v-for="[name, world] in worlds" :key="name"></WorldListItem>
|
||||||
</ul>
|
</ul>
|
||||||
@ -19,6 +19,10 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
heading() {
|
||||||
|
return useStore().state.messages.mapTypes;
|
||||||
|
},
|
||||||
|
|
||||||
worlds() {
|
worlds() {
|
||||||
return useStore().state.worlds;
|
return useStore().state.worlds;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user