more fucking UI fixes
This commit is contained in:
parent
bb959e3824
commit
a3f879312d
@ -1562,7 +1562,7 @@
|
||||
<div class="file-date">${new Date(file.uploaded_at).toLocaleDateString()}</div>
|
||||
</div>
|
||||
<div class="file-actions" onclick="event.stopPropagation()">
|
||||
<button class="action-btn" onclick="shareFile('${file.hash}')" title="Share">🔗</button>
|
||||
<button class="action-btn" onclick="console.log('Button clicked!', '${file.hash}'); shareFile('${file.hash}')" title="Share">🔗</button>
|
||||
<button class="action-btn" onclick="downloadFile('${file.hash}')" title="Download">⬇</button>
|
||||
<button class="action-btn danger" onclick="deleteFile('${file.hash}')" title="Delete">🗑</button>
|
||||
</div>
|
||||
@ -1611,7 +1611,7 @@
|
||||
}
|
||||
|
||||
async function shareFile(hash) {
|
||||
console.log('shareFile called with hash:', hash);
|
||||
console.log('DEBUG: shareFile function called!', hash);
|
||||
console.log('userFiles array:', userFiles);
|
||||
const file = userFiles.find(f => f.hash === hash);
|
||||
console.log('Found file:', file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user