Skip to content

Commit c5ec7dd

Browse files
authored
Merge pull request #26 from CardanoGateKeeper/feature/minor-qol-improvements
Issue w/ NFTCDN
2 parents 417142a + aa8c791 commit c5ec7dd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

resources/js/Pages/Event/Partials/TicketQrCode.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const qr_options = {
2222
qrOptions: {
2323
typeNumber: 0,
2424
mode: 'Byte',
25-
errorCorrectionlevel: 'Q'
25+
errorCorrectionlevel: 'L'
2626
},
2727
imageOptions: {
2828
hideBackgroundDots: true,
@@ -62,14 +62,14 @@ onMounted(async () => {
6262
});
6363
6464
watch(() => props, async (newValue) => {
65-
const timestamp = new Date().getTime();
66-
const img_path = `${newValue.image}?timestamp=${timestamp}`;
65+
// const timestamp = new Date().getTime();
66+
// const img_path = `${newValue.image}?timestamp=${timestamp}`;
6767
const data_uri = newValue.data;
6868
6969
qrCode.update({
7070
...qr_options,
7171
data: data_uri,
72-
image: img_path
72+
// image: img_path
7373
});
7474
7575
qrCode.append(qr_code.value);

resources/js/Pages/Event/Show.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,11 @@ const generate_ticket = async (asset) => {
293293
294294
if (ticket_validation) {
295295
modal.value.showTicket = true;
296-
qr_image_value = asset.fingerprint ? route('image.show', {asset_key: asset.fingerprint}) : '';
296+
// qr_image_value = asset.fingerprint ? route('image.show', {asset_key: asset.fingerprint}) : '';
297+
qr_image_value = '';
297298
qr_code_value = ticket_validation.data.qr_value;
298299
}
299300
300-
301301
cardano.value.connected.busy = false;
302302
}
303303

0 commit comments

Comments
 (0)