forked from Mirrors/keyoxide-web
Hide proofs if none present
This commit is contained in:
parent
d8952c8ea3
commit
a504e8fd9d
1 changed files with 18 additions and 16 deletions
|
@ -213,6 +213,7 @@ async function displayProfile(opts) {
|
||||||
feedback += `<div class="profileDataItem__value"><a href="https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${keyData.fingerprint}">${keyData.fingerprint}</a></div>`;
|
feedback += `<div class="profileDataItem__value"><a href="https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${keyData.fingerprint}">${keyData.fingerprint}</a></div>`;
|
||||||
feedback += `</div>`;
|
feedback += `</div>`;
|
||||||
|
|
||||||
|
if (verifications.length > 0) {
|
||||||
feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`;
|
feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`;
|
||||||
feedback += `<div class="profileDataItem__label"></div>`;
|
feedback += `<div class="profileDataItem__label"></div>`;
|
||||||
feedback += `<div class="profileDataItem__value">proofs</div>`;
|
feedback += `<div class="profileDataItem__value">proofs</div>`;
|
||||||
|
@ -231,6 +232,7 @@ async function displayProfile(opts) {
|
||||||
feedback += `</div>`;
|
feedback += `</div>`;
|
||||||
feedback += `</div>`;
|
feedback += `</div>`;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`;
|
feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`;
|
||||||
feedback += `<div class="profileDataItem__label"></div>`;
|
feedback += `<div class="profileDataItem__label"></div>`;
|
||||||
|
|
Loading…
Reference in a new issue