Skip to content

Commit c30d807

Browse files
committed
Whitespace changes and == to ===
1 parent eb58d2e commit c30d807

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/components/Common/BadgePrintPreview.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ const fetchPDF = async () => {
4040
pdfBlob.value = await response.blob()
4141
pdfUrl.value = URL.createObjectURL(pdfBlob.value)
4242
isLoading.value = false
43-
if (selectedRole=="Badge Station") {
44-
handlePrint()
45-
setTimeout(() => {
46-
emit('close')
47-
}, 5000)
48-
}
43+
if (selectedRole === "Badge Station") {
44+
handlePrint()
45+
setTimeout(() => {
46+
emit('close')
47+
}, 5000)
48+
}
4949
} catch (error) {
5050
console.error('Error fetching PDF:', error)
5151
printError.value = true

src/components/Eventyay/EventyayEventCheckIn.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { message, showSuccess, showError, badgeUrl, isGeneratingBadge } = storeTo
1616
processEventyayCheckInStore
1717
)
1818
const processApi = useEventyayApi()
19-
const { apitoken, url, organizer, eventSlug, eventname,selectedRole } = processApi
19+
const { apitoken, url, organizer, eventSlug, eventname, selectedRole } = processApi
2020
const countdown = ref(5)
2121
const timerInstance = ref(null)
2222
const timeoutInstance = ref(null)
@@ -87,7 +87,7 @@ watch([showSuccess, showError], ([newSuccess, newError], [oldSuccess, oldError])
8787
function showPopup() {
8888
notes.value = ''
8989
startCountdown()
90-
if (selectedRole=="Badge Station") {handlePrint()}
90+
if (selectedRole === "Badge Station") { handlePrint() }
9191
timeoutInstance.value = setTimeout(() => {
9292
processEventyayCheckInStore.$reset()
9393
}, 10000)

0 commit comments

Comments
 (0)