Skip to content

Commit

Permalink
Merge pull request #25 from ankur325/Issue-23-UpdateFieldName
Browse files Browse the repository at this point in the history
Remove default date for Certification
  • Loading branch information
ankur325 authored Jan 26, 2023
2 parents 211ef4d + 63a41a2 commit ba4a3fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dcl-ui",
"version": "1.0.8",
"version": "1.0.9",
"description": "A Vuejs based application for managing CSA Distributed Compliance Ledger",
"author": "Comcast Inc.",
"private": true,
Expand Down
4 changes: 1 addition & 3 deletions src/views/Compliance/CertifyModel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,8 @@ export default {
},
created() {
this.msgCertifyModel = MsgCertifyModel.fromPartial(this.model)
// Set the current date in RFC3339 format for certificationDate, default to 1 for cDVersionNumber
// and default to 'matter' for certificationType
// Set default as 1 for cDVersionNumber and 'matter' for certificationType
this.msgCertifyModel.cDVersionNumber = 1
this.msgCertifyModel.certificationDate = new Date().toISOString()
this.msgCertifyModel.certificationType = 'matter'
}
}
Expand Down

0 comments on commit ba4a3fb

Please sign in to comment.