more fucking UI fixes
This commit is contained in:
parent
aa510238ab
commit
bb959e3824
@ -1611,8 +1611,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function shareFile(hash) {
|
async function shareFile(hash) {
|
||||||
|
console.log('shareFile called with hash:', hash);
|
||||||
|
console.log('userFiles array:', userFiles);
|
||||||
const file = userFiles.find(f => f.hash === hash);
|
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 baseUrl = window.location.origin;
|
||||||
const links = {
|
const links = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user