From 21a171a4519b2e0ad898d7cddc97b9dc18a762d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20B=C3=BClow?= Date: Fri, 6 Jan 2023 21:12:58 +0100 Subject: [PATCH] fixed bug where password change would display the object type instead --- Makefile | 3 ++- src/lib/PasswordButton.svelte | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 498c0a3..8aa6efb 100644 --- a/Makefile +++ b/Makefile @@ -24,4 +24,5 @@ clean: rm -f $(CURDIR)/src/lib/crypttool.wasm rm -rf $(CURDIR)/wasm/pkg/* rm -rf $(CURDIR)/wasm/target/* - rm -rf $(CURDIR)/node_modules/* \ No newline at end of file + rm -rf $(CURDIR)/node_modules/* + rm -rf $(CURDIR)/dist diff --git a/src/lib/PasswordButton.svelte b/src/lib/PasswordButton.svelte index ee874d2..bcae323 100644 --- a/src/lib/PasswordButton.svelte +++ b/src/lib/PasswordButton.svelte @@ -18,7 +18,7 @@ function copyToClipboard() { ); } -function updatePassword(password) { +function updatePassword(e: Event) { globalPassword.set(password) }