From 849ae4e2b9efab0bdbfdcfea72ebe5af0418ebb2 Mon Sep 17 00:00:00 2001 From: Chinweike Michael Chinonso Date: Fri, 26 Nov 2021 20:25:08 +0100 Subject: [PATCH 1/2] fix: fixed issue with credential schema --- frontend/src/components/inputs/FormField.vue | 10 ++++++++++ frontend/src/components/modals/ResultDialog.vue | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/inputs/FormField.vue b/frontend/src/components/inputs/FormField.vue index 87dfc95..42f9403 100644 --- a/frontend/src/components/inputs/FormField.vue +++ b/frontend/src/components/inputs/FormField.vue @@ -26,6 +26,16 @@ :error="Boolean(errors.length)" :error-messages="errors" /> + Date: Tue, 30 Nov 2021 00:23:08 +0100 Subject: [PATCH 2/2] chore: made rrequest changes ref #24 --- frontend/src/components/cards/Result.vue | 4 +--- frontend/src/components/modals/ResultDialog.vue | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/cards/Result.vue b/frontend/src/components/cards/Result.vue index 1587c33..a35dda8 100644 --- a/frontend/src/components/cards/Result.vue +++ b/frontend/src/components/cards/Result.vue @@ -42,8 +42,6 @@ export default { }); }, }, - mounted() { - console.log(this.result); - }, + mounted() {}, }; diff --git a/frontend/src/components/modals/ResultDialog.vue b/frontend/src/components/modals/ResultDialog.vue index 46c62a8..17cd6f5 100644 --- a/frontend/src/components/modals/ResultDialog.vue +++ b/frontend/src/components/modals/ResultDialog.vue @@ -141,10 +141,11 @@ export default { const credential = { ...data, data: { - name: data.name, + name: this.$refs.credential.schema, title: this.$refs.credential.schema, fullName: data.name, dateOfBirth: data.dob, + summary: `New ${this.$refs.credential.schema} test result is available`, testTimestamp: new Date().toISOString(), schema: this.schemaPath(this.$refs.credential.schema), ...form,