Fix accidentally commented code

This commit is contained in:
Yarmo Mackenbach 2020-06-28 13:58:04 +02:00
parent 0e98e57e54
commit eb3ec32a44

View file

@ -161,7 +161,7 @@ async function verifyProofs(opts) {
// Generate feedback // Generate feedback
feedback += `<p>`; feedback += `<p>`;
for (var i = 0; i < verifications.length; i++) { for (var i = 0; i < verifications.length; i++) {
// if (verifications[i].type == "null") { continue; } if (verifications[i].type == "null") { continue; }
feedback += `${verifications[i].type}: `; feedback += `${verifications[i].type}: `;
feedback += `<a class="proofDisplay" href="${verifications[i].url}">${verifications[i].display}</a>`; feedback += `<a class="proofDisplay" href="${verifications[i].url}">${verifications[i].display}</a>`;
if (verifications[i].isVerified) { if (verifications[i].isVerified) {
@ -212,7 +212,7 @@ async function displayProfile(opts) {
feedback += `<div class="profileDataItem__value">proofs</div>`; feedback += `<div class="profileDataItem__value">proofs</div>`;
feedback += `</div>`; feedback += `</div>`;
for (var i = 0; i < verifications.length; i++) { for (var i = 0; i < verifications.length; i++) {
// if (!verifications[i].type) { continue; } if (!verifications[i].type) { continue; }
feedback += `<div class="profileDataItem">`; feedback += `<div class="profileDataItem">`;
feedback += `<div class="profileDataItem__label">${verifications[i].type}</div>`; feedback += `<div class="profileDataItem__label">${verifications[i].type}</div>`;
feedback += `<div class="profileDataItem__value">`; feedback += `<div class="profileDataItem__value">`;