Skip to content

Commit

Permalink
fix printing qr code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Wiaderek authored and Tomasz Wiaderek committed Oct 18, 2023
1 parent c5373a9 commit 22ebd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/topbar/MenuQrCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default defineComponent({
const win = window.open();
if (qrCode.value !== null) {
win?.document.write(qrCode.value.innerHTML);
win?.document.write(qrCode.value.$el.innerHTML);
win?.print();
win?.close();
}
Expand Down

0 comments on commit 22ebd8d

Please sign in to comment.