File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -271,13 +271,13 @@ export class TaskLineRenderer {
271
271
task : Task ,
272
272
) {
273
273
if ( component === TaskLayoutComponent . Description ) {
274
- return await this . renderDescription ( componentString , task , span ) ;
274
+ return await this . renderDescription ( task , span ) ;
275
275
}
276
276
span . innerHTML = componentString ;
277
277
}
278
278
279
- private async renderDescription ( description : string , task : Task , span : HTMLSpanElement ) {
280
- description = GlobalFilter . getInstance ( ) . removeAsWordFromDependingOnSettings ( description ) ;
279
+ private async renderDescription ( task : Task , span : HTMLSpanElement ) {
280
+ let description = GlobalFilter . getInstance ( ) . removeAsWordFromDependingOnSettings ( task . description ) ;
281
281
282
282
const { debugSettings } = getSettings ( ) ;
283
283
if ( debugSettings . showTaskHiddenData ) {
You can’t perform that action at this time.
0 commit comments