enhance(web): hide attachment dropzone on preview tab in combo editor (#39204)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Grigor Tonikyan
2026-09-03 23:32:11 +00:00
committed by GitHub
co-authored by wxiaoguang
parent c285440e03
commit c56b2d35ff
4 changed files with 24 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
)}}
{{if .root.IsAttachmentEnabled}}
<div class="tw-mt-4 form-field-dropzone tw-hidden">
<div class="tw-mt-4 form-field-dropzone tw-hidden">{{/*TODO: need to refactor the "repo/upload" template and remove this wrapper */}}
{{template "repo/upload" .root}}
</div>
{{end}}