feat: add trash button and backend endpoint to delete corrupted .badsha downloads

This commit is contained in:
Dariusz L
2026-11-01 16:49:35 +01:00
parent d0d706f1cf
commit 3ece5d7bbf
12 changed files with 263 additions and 2 deletions
+3 -1
View File
@@ -141,11 +141,13 @@ export const renderFormatMethods = {
const className = contextMenuAttrs
? `mr-status mr-status-${type} mr-download-folder-context`
: `mr-status mr-status-${type}`;
const extraHtml = options?.extraHtml ? `<span class="mr-status-extra">${options.extraHtml}</span>` : '';
return `
<div class="${className}"${contextMenuAttrs}>
<span class="mr-status-icon">${icon}</span>
<span>${message}</span>
<span class="mr-status-text">${message}</span>
${extraHtml}
</div>
`;
},