File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -222,12 +222,14 @@ class QueryRenderChild extends MarkdownRenderChild {
222
222
}
223
223
224
224
private async createTaskList ( tasks : Task [ ] , content : HTMLDivElement ) : Promise < void > {
225
- const taskLayout = new TaskLayout ( this . query . taskLayoutOptions ) ;
226
- const queryLayout = new QueryLayout ( this . query . queryLayoutOptions ) ;
227
225
const taskList = content . createEl ( 'ul' ) ;
226
+
228
227
taskList . addClasses ( [ 'contains-task-list' , 'plugin-tasks-query-result' ] ) ;
228
+ const taskLayout = new TaskLayout ( this . query . taskLayoutOptions ) ;
229
229
taskList . addClasses ( taskLayout . applyTaskLayoutOptions ( ) ) ;
230
+ const queryLayout = new QueryLayout ( this . query . queryLayoutOptions ) ;
230
231
taskList . addClasses ( queryLayout . applyQueryLayoutOptions ( ) ) ;
232
+
231
233
const groupingAttribute = this . getGroupingAttribute ( ) ;
232
234
if ( groupingAttribute && groupingAttribute . length > 0 ) taskList . dataset . taskGroupBy = groupingAttribute ;
233
235
You can’t perform that action at this time.
0 commit comments