From 7b962738254461164784bbd88c1fb2ac61e796dc Mon Sep 17 00:00:00 2001 From: Andrea Date: Sun, 26 Dec 2021 14:46:04 +0100 Subject: [PATCH] [names] published=false wasn't really hiding the page --- components/CommunityNav.vue | 1 + routes/names.vue | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/CommunityNav.vue b/components/CommunityNav.vue index 0d94c41c..2c515b16 100644 --- a/components/CommunityNav.vue +++ b/components/CommunityNav.vue @@ -3,6 +3,7 @@ {name: 'terminology.header', icon: 'flag', route: config.terminology.route, condition: config.terminology.enabled}, {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}, + {name: 'names.header', route: config.names.route, icon: 'signature', condition: config.names && config.names.enabled && (config.names.published || $isGranted('names'))}, {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}, {name: 'contact.team.nameShort', route: config.contact.team.route, icon: 'collective-logo.svg', iconInverse: darkMode}, diff --git a/routes/names.vue b/routes/names.vue index 8da2f4a9..74bfdbf4 100644 --- a/routes/names.vue +++ b/routes/names.vue @@ -1,5 +1,8 @@