diff --git a/app/javascript/people/person_tabs.vue b/app/javascript/people/person_tabs.vue index 8029f827f..90ac4467b 100644 --- a/app/javascript/people/person_tabs.vue +++ b/app/javascript/people/person_tabs.vue @@ -47,13 +47,14 @@ + + + - - @@ -69,6 +70,7 @@ import PersonDemographics from '../profile/person_demographics.vue'; import PersonLiveSchedule from '@/profile/person_live_schedule.vue'; import PersonDraftSchedule from '@/profile/person_draft_schedule.vue'; import PeopleAdminTab from './people_admin_tab.vue'; +import PeopleEmailTab from '@/profile/person_email_tab.vue'; import ModelLoadingOverlay from '@/components/model_loading_overlay.vue'; import { personModel } from '@/store/person.store' @@ -100,6 +102,7 @@ export default { PersonLiveSchedule, PersonDraftSchedule, PeopleAdminTab, + PeopleEmailTab, }, mixins: [ personSessionMixin, @@ -120,13 +123,14 @@ export default { 'availability', 'session-selection', 'session-ranking', - 'admin' ] if (this.displayDraftSchedule) { baseTabs.splice(5, 0, 'draft-schedule') } if (this.currentUserIsAdmin || this.currentUserIsStaff || this.firmSchedule) { - baseTabs.splice(5, 0, 'schedule') + baseTabs.splice(5, 0, 'schedule'); + baseTabs.push('email'); + baseTabs.push('admin'); } return baseTabs; }, diff --git a/app/javascript/profile/person_email_tab.vue b/app/javascript/profile/person_email_tab.vue new file mode 100644 index 000000000..cc78c5da8 --- /dev/null +++ b/app/javascript/profile/person_email_tab.vue @@ -0,0 +1,59 @@ + + + + +