UNCLASSIFIED

Commit 849d4711 authored by hunter.congress's avatar hunter.congress
Browse files

cleaning code and fixing spacing in wording

parent 2bd649f8
...@@ -157,14 +157,6 @@ export default { ...@@ -157,14 +157,6 @@ export default {
}; };
}, },
async mounted() { 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(); await this.fetchData();
}, },
methods: { methods: {
...@@ -203,8 +195,15 @@ export default { ...@@ -203,8 +195,15 @@ export default {
{ {
userId: userId, userId: userId,
pmId: pmId, pmId: pmId,
mainText: "none", mainText:
subText: "none", "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, add: true,
} }
); );
...@@ -234,13 +233,13 @@ export default { ...@@ -234,13 +233,13 @@ export default {
}, },
mainMessage() { mainMessage() {
return ( return (
"Your request to add a team member into" + "Your request to add a team member into " +
this.$props.trainingCourse.name + this.$props.trainingCourse.name +
" - " + " - " +
this.$props.trainingCourse.startDate + this.$props.trainingCourse.startDate +
"-" + "-" +
this.$props.trainingCourse.endDate + this.$props.trainingCourse.endDate +
"has been denied due to the following reasons:" " has been denied due to the following reasons:"
); );
}, },
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment