2021-08-30 02:36:57 -07:00
|
|
|
<template>
|
2021-09-14 03:23:08 -07:00
|
|
|
<Submenu v-if="config.community" :links="[
|
2021-08-30 02:36:57 -07:00
|
|
|
{name: 'terminology.header', icon: 'flag', route: config.terminology.route, condition: config.terminology.enabled},
|
2021-09-06 10:40:27 -07:00
|
|
|
{name: 'inclusive.header', icon: 'book-heart', route: config.inclusive.route, condition: config.inclusive.enabled},
|
|
|
|
{name: 'calendar.header', route: config.calendar.route, icon: 'calendar-star', condition: config.calendar && config.calendar.enabled},
|
2021-12-26 05:46:04 -08:00
|
|
|
{name: 'names.header', route: config.names.route, icon: 'signature', condition: config.names && config.names.enabled && (config.names.published || $isGranted('names'))},
|
2021-09-06 10:40:27 -07:00
|
|
|
{name: 'census.header', route: config.census.route, icon: 'user-chart', condition: config.census.enabled},
|
|
|
|
{name: 'people.header', route: config.people.route, icon: 'user-friends', condition: config.people.enabled},
|
2021-11-10 04:05:08 -08:00
|
|
|
{name: 'contact.team.nameShort', route: config.contact.team.route, icon: 'collective-logo.svg', iconInverse: darkMode},
|
2021-08-30 02:36:57 -07:00
|
|
|
]"/>
|
|
|
|
</template>
|
2021-11-10 04:05:08 -08:00
|
|
|
|
|
|
|
<script>
|
|
|
|
import {mapState} from "vuex";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
computed: {
|
|
|
|
...mapState([
|
|
|
|
'darkMode',
|
|
|
|
]),
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|