From 339e7c3161b96c7a41427f1aa4067fd93a24ebf4 Mon Sep 17 00:00:00 2001 From: "XT:Tandon, Sandeepraj EMPR:IN" Date: Mon, 8 Mar 2021 18:10:37 -0800 Subject: [PATCH 1/5] Used symbols, updated compoenents to use symbols --- .../components/generic/FooterNavigator.vue | 6 ++++-- .../partial-view/student/NavBar.vue | 6 ++++-- .../ConfirmStudentAidBCProfileInfo.vue | 12 ++++++++--- .../financial-aid-application/WelcomePage.vue | 3 ++- .../src/constants/routes/RouteConstants.ts | 17 +++++++++++++++ .../web/src/router/InstitutionRoutes.ts | 5 +++-- .../packages/web/src/router/StudentRoutes.ts | 21 ++++++++++--------- .../src/views/institution/AppInstitution.vue | 2 +- .../web/src/views/student/AppStudent.vue | 7 ++++--- .../src/views/student/StudentDashboard.vue | 7 ++++++- .../ConfirmSubmission.vue | 9 +++++++- .../FinancialInfo.vue | 11 +++++++++- .../PersonalInfoQuestionnaire.vue | 11 +++++++++- .../SelectProgram.vue | 11 ++++++++-- .../web/tests/unit/InstituteList.spec.ts | 2 +- ...onfirmStudentAidBCProfileInfo.view.spec.ts | 2 +- 16 files changed, 100 insertions(+), 32 deletions(-) create mode 100644 sources/packages/web/src/constants/routes/RouteConstants.ts diff --git a/sources/packages/web/src/components/generic/FooterNavigator.vue b/sources/packages/web/src/components/generic/FooterNavigator.vue index de68452404..be1545201e 100644 --- a/sources/packages/web/src/components/generic/FooterNavigator.vue +++ b/sources/packages/web/src/components/generic/FooterNavigator.vue @@ -16,11 +16,13 @@ import { useRouter } from "vue-router"; export default { props: { - previous: String, - next: String, + previous: Symbol, + next: Symbol, }, setup(props: any) { const router = useRouter(); + console.log("props"); + console.dir(props.previous); const onPrevious = () => { if (props.previous) { router.push({ name: props.previous }); diff --git a/sources/packages/web/src/components/partial-view/student/NavBar.vue b/sources/packages/web/src/components/partial-view/student/NavBar.vue index da90723987..000cefc766 100644 --- a/sources/packages/web/src/components/partial-view/student/NavBar.vue +++ b/sources/packages/web/src/components/partial-view/student/NavBar.vue @@ -13,7 +13,7 @@ icon="pi pi-fw pi-user" class="p-button-text" style="color: white" - @click="$router.push({ name: 'Student-Profile-Edit' })" + @click="$router.push({ name: studentProfileEditPath })" />