Skip to content

Commit a1c8314

Browse files
committed
refactor: . group similar calls together
1 parent 53c2190 commit a1c8314

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Renderer/TaskFieldRenderer.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,12 @@ const taskFieldHTMLData: { [c in TaskLayoutComponent]: TaskFieldHTMLData } = {
160160
doneDate: createDateField('task-done', 'taskDone'),
161161
cancelledDate: createDateField('task-cancelled', 'taskCancelled'),
162162

163-
description: createFieldWithoutDataAttributes('task-description'),
164-
recurrenceRule: createFieldWithoutDataAttributes('task-recurring'),
165-
166163
priority: new TaskFieldHTMLData('task-priority', 'taskPriority', (_component, task) => {
167164
return PriorityTools.priorityNameUsingNormal(task.priority).toLocaleLowerCase();
168165
}),
169166

167+
description: createFieldWithoutDataAttributes('task-description'),
168+
recurrenceRule: createFieldWithoutDataAttributes('task-recurring'),
170169
blockedBy: createFieldWithoutDataAttributes('task-blockedBy'),
171170
id: createFieldWithoutDataAttributes('task-id'),
172171
blockLink: createFieldWithoutDataAttributes('task-block-link'),

0 commit comments

Comments
 (0)