diff --git a/frontend/src/components/feedback_list/FeedbackTable.vue b/frontend/src/components/feedback_list/FeedbackTable.vue index e03677165f01a5b05eb8a91a03f777365fe9205c..0bb64a8773b3e35aeb6af5b4ac00ead39b0e5b15 100644 --- a/frontend/src/components/feedback_list/FeedbackTable.vue +++ b/frontend/src/components/feedback_list/FeedbackTable.vue @@ -1,7 +1,7 @@ <template> <v-card> <v-card-title class="title"> - Your feedback history + <span v-if="isTutor">Your</span><span>All</span> feedback history <v-spacer/> <v-text-field append-icon="search" @@ -48,6 +48,7 @@ import { FeedbackTable as FeedbackModule, FeedbackHistoryItem } from '@/store/mo import { Subscription, Feedback } from '@/models' import { actions } from '@/store/actions' import { getters } from '@/store/getters' +import { Authentication } from '../../store/modules/authentication'; @Component({ components: { @@ -61,6 +62,7 @@ export default class FeedbackTable extends Vue { get useRegex () { return OptionsModule.state.useRegex } get filterByTutors () { return OptionsModule.state.filterByTutors } get filterByStage () { return OptionsModule.state.filterByStage } + get isTutor () { return Authentication.isTutor } get stageFilterString () { return OptionsModule.stageFilterString }