Skip to content

Commit

Permalink
update ui (fossasia#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
cweitat committed Aug 15, 2023
1 parent 17055a5 commit a5cafd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modals/PrintModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const printingText = ref(false)
const titleText = 'Select items to print'
function printDelay(delayHideModal, delayPrint) {
setTimeout(() => printModalStore.showPrintModal = false, delayHideModal)
setTimeout(() => printModalStore.showPrintModal.value = false, delayHideModal)
setTimeout(() => {
notificationStore.addNotification(
['Successfully printed!', 'Please collect your ticket.'],
Expand Down
1 change: 1 addition & 0 deletions src/components/Registration/Manual/SearchAttendee.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ async function checkin(id) {
} else console.log('check in failed')
}
function printBadge(ticketId, attendeeId) {
printModalStore.ticketId = ticketId
printModalStore.attendeeId = attendeeId
Expand Down
1 change: 1 addition & 0 deletions src/stores/printModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,5 @@ export const usePrintModalStore = defineStore('printModal', () => {
}

return { showPrintModal, ticketId, attendeeId, printOptions, selectedOptions, selectOption, selectOrDeselectAll, reset, getBadgeFields, getPDF }

})

0 comments on commit a5cafd9

Please sign in to comment.