File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -375,8 +375,8 @@ export class QueryResultsRenderer {
375
375
const listItem = await taskLineRenderer . renderTaskLine ( {
376
376
task : task ,
377
377
taskIndex : taskIndex ,
378
- isFilenameUnique : isFilenameUnique ,
379
378
isTaskInQueryFile : this . filePath === task . path ,
379
+ isFilenameUnique : isFilenameUnique ,
380
380
} ) ;
381
381
382
382
// Remove all footnotes. They don't re-appear in another document.
Original file line number Diff line number Diff line change @@ -127,21 +127,21 @@ export class TaskLineRenderer {
127
127
* @note Output is based on the {@link DefaultTaskSerializer}'s format, with default (emoji) symbols
128
128
* @param task The task to be rendered.
129
129
* @param taskIndex Task's index in the list. This affects `data-line` data attributes of the list item.
130
+ * @param isTaskInQueryFile
130
131
* @param isFilenameUnique Whether the name of the file that contains the task is unique in the vault.
131
132
* If it is undefined, the outcome will be the same as with a unique file name:
132
133
* the file name only. If set to `true`, the full path will be returned.
133
- * @param isTaskInQueryFile
134
134
*/
135
135
public async renderTaskLine ( {
136
136
task,
137
137
taskIndex,
138
- isFilenameUnique,
139
138
isTaskInQueryFile,
139
+ isFilenameUnique,
140
140
} : {
141
141
task : Task ;
142
142
taskIndex : number ;
143
- isFilenameUnique ?: boolean ;
144
143
isTaskInQueryFile : boolean ;
144
+ isFilenameUnique ?: boolean ;
145
145
} ) : Promise < HTMLLIElement > {
146
146
const li = createAndAppendElement ( 'li' , this . parentUlElement ) ;
147
147
li . classList . add ( 'task-list-item' , 'plugin-tasks-list-item' ) ;
You can’t perform that action at this time.
0 commit comments