Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-05 11:31:51 +04:00
parent 679e404dc8
commit b4ad6da49e
3 changed files with 76 additions and 12 deletions

View File

@@ -243,4 +243,13 @@ export class CreatePage {
onNoteChange(value: string): void {
this.note.set(value);
}
closeQr(): void {
this.qrImageUrl.set(null);
this.qrPolling.set(false);
if (this.pollHandle !== null) {
clearInterval(this.pollHandle);
this.pollHandle = null;
}
}
}