diff --git a/src/components/Training/PendingRequests.vue b/src/components/Training/PendingRequests.vue index d07ea5266c4797582601870d67efd992608fcf62..3d2b792a5ffcec35bd5aeda04c6e396ad6e83c9c 100644 --- a/src/components/Training/PendingRequests.vue +++ b/src/components/Training/PendingRequests.vue @@ -157,14 +157,6 @@ export default { }; }, async mounted() { - this.mainMesseage = - "Your request to add a team member into " + - this.$props.trainingCourse.name + - " - " + - this.$props.trainingCourse.startDate + - "-" + - this.$props.trainingCourse.endDate + - " has been denied due to the following reasons:"; await this.fetchData(); }, methods: { @@ -203,8 +195,15 @@ export default { { userId: userId, pmId: pmId, - mainText: "none", - subText: "none", + mainText: + "Your request to add a team member into " + + this.$props.trainingCourse.name + + " - " + + this.$props.trainingCourse.startDate + + "-" + + this.$props.trainingCourse.endDate + + " has been approved", + subText: "", add: true, } ); @@ -234,13 +233,13 @@ export default { }, mainMessage() { return ( - "Your request to add a team member into" + + "Your request to add a team member into " + this.$props.trainingCourse.name + " - " + this.$props.trainingCourse.startDate + "-" + this.$props.trainingCourse.endDate + - "has been denied due to the following reasons:" + " has been denied due to the following reasons:" ); }, },