surface the ID

This commit is contained in:
Lee Salminen 2022-08-21 10:06:07 -06:00
parent 971d8f34e8
commit b11ddf3d61
2 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,12 @@ new Vue({
}, },
cardsTable: { cardsTable: {
columns: [ columns: [
{
name: 'id',
align: 'left',
label: 'ID',
field: 'id'
},
{ {
name: 'card_name', name: 'card_name',
align: 'left', align: 'left',
@ -156,6 +162,7 @@ new Vue({
this.qrCodeDialog.data = { this.qrCodeDialog.data = {
link: window.location.origin + '/boltcards/api/v1/auth?a=' + card.otp, link: window.location.origin + '/boltcards/api/v1/auth?a=' + card.otp,
id: card.id,
name: card.card_name, name: card.card_name,
uid: card.uid, uid: card.uid,
k0: card.k0, k0: card.k0,

View file

@ -260,6 +260,7 @@
(QR code is for setting the keys with bolt-nfc-android-app) (QR code is for setting the keys with bolt-nfc-android-app)
</p> </p>
<p style="word-break: break-all"> <p style="word-break: break-all">
<strong>ID:</strong> {{qrCodeDialog.data.id}}<br />
<strong>Name:</strong> {{ qrCodeDialog.data.name }}<br /> <strong>Name:</strong> {{ qrCodeDialog.data.name }}<br />
<strong>UID:</strong> {{ qrCodeDialog.data.uid }}<br /> <strong>UID:</strong> {{ qrCodeDialog.data.uid }}<br />
<strong>Lock key:</strong> {{ qrCodeDialog.data.k0 }}<br /> <strong>Lock key:</strong> {{ qrCodeDialog.data.k0 }}<br />