From bb959e382461e06f72b27074b27b9cac87d91a8d Mon Sep 17 00:00:00 2001 From: enki Date: Wed, 27 Aug 2025 22:02:14 -0700 Subject: [PATCH] more fucking UI fixes --- internal/web/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/web/index.html b/internal/web/index.html index d209245..90e9db8 100644 --- a/internal/web/index.html +++ b/internal/web/index.html @@ -1611,8 +1611,14 @@ } async function shareFile(hash) { + console.log('shareFile called with hash:', hash); + console.log('userFiles array:', userFiles); const file = userFiles.find(f => f.hash === hash); - if (!file) return; + console.log('Found file:', file); + if (!file) { + console.error('File not found in userFiles array'); + return; + } const baseUrl = window.location.origin; const links = {