Remove body from entry row template instead of removing it in JS
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -382,8 +382,6 @@ function make_entry_row(entry, children_map) {
|
||||
|
||||
fill_markdown(row.querySelector('.task-title'), entry.title);
|
||||
|
||||
const body_el = row.querySelector('.task-body');
|
||||
body_el.remove();
|
||||
|
||||
const tags_el = row.querySelector('.task-tags');
|
||||
for (const tag of entry.tags) {
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
</div>
|
||||
<div class="task-main">
|
||||
<div class="task-title markup"></div>
|
||||
<div class="task-body markup" hidden></div>
|
||||
<div class="task-footer">
|
||||
<span class="task-tags"></span>
|
||||
<div class="task-actions">
|
||||
|
||||
Reference in New Issue
Block a user