Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelman committed Nov 11, 2024
1 parent 671e57a commit f10d1b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 6 additions & 2 deletions web/src/admin/credentials/IssueCredential.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<section v-if="issuedCredential">
<header>Issued Credential</header>
<button class="btn btn-primary" @click="copyToClipboard">Copy to Clipboard</button>
<br><br>
<pre>{{ JSON.stringify(issuedCredential, null, 2) }}</pre>
</section>

Expand Down Expand Up @@ -88,7 +87,12 @@
</div>
</div>
</template>

<style scoped>
button.btn.btn-primary {
display: block;
margin-bottom: 1rem;
}
</style>
<script>
import templates from "./templates";
import ErrorMessage from "../../components/ErrorMessage.vue";
Expand Down
2 changes: 0 additions & 2 deletions web/src/admin/credentials/UploadCredential.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ export default {
},
methods: {
confirm () {
console.log(this.credential.credentialSubject)
console.log(JSON.stringify(this.credential, null, 2))
this.$api.post(`api/proxy/internal/vcr/v2/holder/${this.subjectID}/vc`, this.credential)
.then(() => {
this.$emit('uploadCredential', 'Verifiable Credential issued, and loaded into wallet')
Expand Down

0 comments on commit f10d1b6

Please sign in to comment.