diff --git a/components/Account.vue b/components/Account.vue index 89d371b46..85f48b7c7 100644 --- a/components/Account.vue +++ b/components/Account.vue @@ -59,7 +59,7 @@
-
@@ -148,6 +148,7 @@ import {socialProviders} from "../src/data"; import {gravatar} from "../src/helpers"; import cookieSettings from "../src/cookieSettings"; + import {mapState} from "vuex"; export default { data() { @@ -284,6 +285,9 @@ }, }, computed: { + ...mapState([ + 'user', + ]), canChangeEmail() { return this.email && this.captchaToken; } diff --git a/components/LinksNav.vue b/components/LinksNav.vue index baea4ce18..3e1aa461f 100644 --- a/components/LinksNav.vue +++ b/components/LinksNav.vue @@ -3,7 +3,7 @@ {name: 'links.links', route: config.links.route, icon: 'bookmark', condition: config.links.links.length > 0}, {name: 'links.academic', route: config.links.academicRoute, icon: 'vial', condition: config.links.academic.length > 0}, {name: 'links.blog', route: config.links.blogRoute, icon: 'pen-nib', condition: config.links.blog}, - {name: 'links.media', route: config.links.mediaRoute, icon: 'tv', condition: config.links.mediaGuests.length || config.links.mediaMentions.length > 0}, + {name: 'links.media', route: config.links.mediaRoute, icon: 'tv', condition: config.links.mediaGuests.length > 0 || config.links.mediaMentions.length > 0}, {name: 'faq.header', route: config.faq.route, icon: 'map-marker-question', condition: config.faq.enabled}, {name: 'english.header', route: config.english.route, icon: 'globe-americas', condition: config.english.enabled}, ]"/> diff --git a/components/Support.vue b/components/Support.vue index e7bbdc8fd..2d1687af6 100644 --- a/components/Support.vue +++ b/components/Support.vue @@ -6,7 +6,7 @@

support.description

- @@ -15,3 +15,17 @@

+ + diff --git a/components/Term.vue b/components/Term.vue index 6911c61f2..0b24aba16 100644 --- a/components/Term.vue +++ b/components/Term.vue @@ -1,13 +1,16 @@