Skip unknown verifications

This commit is contained in:
Yarmo Mackenbach 2020-06-28 13:53:16 +02:00
parent 2905532b80
commit a99e076f38

View file

@ -214,6 +214,7 @@ async function displayProfile(opts) {
feedback += `<div class="profileDataItem__value">proofs</div>`;
feedback += `</div>`;
for (var i = 0; i < verifications.length; i++) {
if (!verifications[i].type) { continue; }
feedback += `<div class="profileDataItem">`;
feedback += `<div class="profileDataItem__label">${verifications[i].type}</div>`;
feedback += `<div class="profileDataItem__value">`;