fix(devices): copy buttons via component method (copyFromId) under CSP build

This commit is contained in:
John O'Keefe committed 2026-10-25 18:14:44 -04:00
1 parent 6d01bd7971
commit 3b66b981be
13 files changed
+34 -27

No files matched your search

+1 -1
View File
@@ -669,7 +669,7 @@ func MetadataEditorModal(book handlers.MediaDetail) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "</button></div><div class=\"flex flex-col md:flex-row gap-8 p-6 flex-1 min-h-0 overflow-y-auto\"><div class=\"flex-shrink-0\"><div class=\"w-64 h-96 rounded-xl overflow-hidden mb-3 cursor-pointer relative group\" style=\"background-color: var(--bg-primary);\" @click=\"document.getElementById('cover-upload-input').click()\">")
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "</button></div><div class=\"flex flex-col md:flex-row gap-8 p-6 flex-1 min-h-0 overflow-y-auto\"><div class=\"flex-shrink-0\"><div class=\"w-64 h-96 rounded-xl overflow-hidden mb-3 cursor-pointer relative group\" style=\"background-color: var(--bg-primary);\" @click=\"triggerCoverUpload()\">")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}