From ef377e8fe8d666f95526b5636b56655589a183f2 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Wed, 25 Mar 2026 00:23:51 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20PasswordGen=20TS=20error=20=E2=80=94=20n?= =?UTF-8?q?avigator=20not=20available=20in=20Vue=20template=20scope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/tools/PasswordGen.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/tools/PasswordGen.vue b/src/components/tools/PasswordGen.vue index b8f5a6d..fd16637 100644 --- a/src/components/tools/PasswordGen.vue +++ b/src/components/tools/PasswordGen.vue @@ -25,7 +25,7 @@

History

{{ pw }} - +
@@ -60,4 +60,8 @@ async function generate(): Promise { function copy(): void { navigator.clipboard.writeText(password.value).catch(() => {}); } + +function copyText(text: string): void { + navigator.clipboard.writeText(text).catch(() => {}); +}