UNCLASSIFIED

Commit 43c907dd authored by hunter.congress's avatar hunter.congress
Browse files

Merge branch 'dev-mission-app-fix' of...

Merge branch 'dev-mission-app-fix' of https://repo1.dso.mil/platform-one/party-bus/launchboard/launchboard-fe into dev-mission-app-fix
parents 5acac03e 7ff75c2b
...@@ -8,7 +8,7 @@ export default { ...@@ -8,7 +8,7 @@ export default {
return HTTP.get("/users/notifications"); return HTTP.get("/users/notifications");
}, },
async deleteNotifications(notificationId) { async deleteNotifications(notificationId) {
await HTTP.delete(`/users/notification/${notificationId}`); return HTTP.delete(`/users/notification/${notificationId}`);
}, },
async search(params) { async search(params) {
return HTTP.get("/users", { params }); return HTTP.get("/users", { params });
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
/> />
<v-card-title class="text-h4 mb-8 justify-center font-weight-bold"> <v-card-title class="text-h4 mb-8 justify-center font-weight-bold">
SEND OUT A CUSTOM NOTIFICATION<br /> NOTIFY THE PM ON WHY THEIR<br />
TO ALL LAUNCHBOARD USERS REQUEST WAS DENIED
</v-card-title> </v-card-title>
<v-select <v-select
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
label="Templated Responses" label="Templated Responses"
return-object return-object
single-line single-line
color="secondary" outlined
class="select mx-auto" class="select mx-auto"
@change="updateTextArea()" @change="updateTextArea()"
></v-select> ></v-select>
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
ref="inputRef" ref="inputRef"
clearable clearable
v-model="selectedMessage" v-model="selectedMessage"
class="mx-auto mt-10" class="text-area mx-auto mt-10"
placeholder="Edit your response in here or choose from the templated responses provided in the dropdown..." placeholder="Edit your response in here or choose from the templated responses provided in the dropdown..."
outlined outlined
auto-grow auto-grow
...@@ -66,8 +66,6 @@ export default { ...@@ -66,8 +66,6 @@ export default {
return { return {
selectedMessage: "", selectedMessage: "",
messageSubText: "", messageSubText: "",
messageMainText:
"Your request to add a team member into the <> has been denied due to the following reasons:",
select: "", select: "",
items: [ items: [
{ {
...@@ -98,7 +96,6 @@ export default { ...@@ -98,7 +96,6 @@ export default {
methods: { methods: {
updateTextArea() { updateTextArea() {
this.selectedMessage = this.select.subText; this.selectedMessage = this.select.subText;
this.mainText = this.messageMainText;
this.subText = this.select.subText; this.subText = this.select.subText;
}, },
...@@ -110,7 +107,7 @@ export default { ...@@ -110,7 +107,7 @@ export default {
{ {
userId: this.$props.id, userId: this.$props.id,
pmId: this.$props.pm, pmId: this.$props.pm,
mainText: this.mainText, mainText: this.$props.mainMessage,
subText: this.subText, subText: this.subText,
add: false, add: false,
} }
...@@ -129,11 +126,12 @@ export default { ...@@ -129,11 +126,12 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.select { .select {
width: 70%; width: 60%;
height: 56px;
font-size: 14px; font-size: 14px;
} }
.text-area { .text-area {
width: 70%; width: 80%;
font-size: 14px; font-size: 14px;
} }
</style> </style>
...@@ -19,7 +19,6 @@ describe("DenialNotification", () => { ...@@ -19,7 +19,6 @@ describe("DenialNotification", () => {
data() { data() {
return { return {
select: { subText: "mockOne" }, select: { subText: "mockOne" },
messageMainText: "mockOne",
selectedMessage: "", selectedMessage: "",
mainText: "", mainText: "",
...@@ -29,7 +28,6 @@ describe("DenialNotification", () => { ...@@ -29,7 +28,6 @@ describe("DenialNotification", () => {
}); });
wrapper.vm.updateTextArea(); wrapper.vm.updateTextArea();
expect(wrapper.vm.selectedMessage).toEqual("mockOne"); expect(wrapper.vm.selectedMessage).toEqual("mockOne");
expect(wrapper.vm.mainText).toEqual("mockOne");
expect(wrapper.vm.subText).toEqual("mockOne"); expect(wrapper.vm.subText).toEqual("mockOne");
}); });
......
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