Skip to content

Commit cc3fdf9

Browse files
Datikzzinvisiburu
authored andcommitted
Feature/show missing verification code (#28)
* Show missing verification code * Remove unused doclinkgetter prop
1 parent e851651 commit cc3fdf9

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ for further information about branching and tagging conventions.
1818
- sinon
1919
- nightwatch
2020
- bootstrap-sass
21+
- DocLinkgetter unused `accountId` prop
2122

2223
### Fixed
2324
- Add missing quotes to `KEY_SERVER_ADMIN` of `config/default.env.js`
25+
- Show verification code in KYC request details
2426

2527
### Security
2628
- Resolve security issues in package.json

src/components/User/Users/components/UserDetails/UserDetails.Kyc.vue

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
v-if="config.FEATURES.PHOTO_VERIFICATION"
2626
class="user-details-account__doc-view-wrp"
2727
>
28-
<h3>Photo with code: {{ user.id.slice(1, 6) }}</h3>
28+
<h3>Photo with code: {{ user.address.slice(1, 6) }}</h3>
2929
<user-doc-getter
3030
class="user-details-account__doc-view"
31-
:user-id="user.id"
31+
:user-id="user.address"
3232
:file-key="kyc.documents.bravo || kyc.documents.kycSelfie"
3333
/>
3434
</div>
@@ -51,7 +51,6 @@
5151
<span>ID Document</span>
5252
<span>
5353
<user-doc-link-getter
54-
:user-id="user.id"
5554
:file-key="kyc.documents.kycIdDocument"
5655
>
5756
Open file
@@ -62,7 +61,6 @@
6261
<span>Photo with verification code</span>
6362
<span>
6463
<user-doc-link-getter
65-
:user-id="user.id"
6664
:file-key="kyc.documents.bravo"
6765
>
6866
Open file
@@ -73,7 +71,6 @@
7371
<span>Photo with verification code</span>
7472
<span>
7573
<user-doc-link-getter
76-
:user-id="user.id"
7774
:file-key="kyc.documents.kycSelfie"
7875
>
7976
Open file
@@ -84,7 +81,7 @@
8481
class="code-details"
8582
v-if="kyc.documents.bravo || kyc.documents.kycSelfie"
8683
>
87-
Code: {{ user.id.slice(1, 6) }}
84+
Code: {{ user.address.slice(1, 6) }}
8885
</li>
8986
</ul>
9087
<div class="user-details-account__info">

src/components/common/getters/link_getter.mixin.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ export default {
1010
}
1111
},
1212

13-
props: ['userId', 'fileKey'],
13+
props: ['fileKey'],
1414

1515
created () {
1616
this.getHref()
1717
},
1818

1919
watch: {
20-
userId () { this.getHref() },
2120
fileKey () { this.getHref() }
2221
},
2322

0 commit comments

Comments
 (0)