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 {
271271 task : Task ,
272272 ) {
273273 if ( component === TaskLayoutComponent . Description ) {
274- return await this . renderDescription ( componentString , task , span ) ;
274+ return await this . renderDescription ( task , span ) ;
275275 }
276276 span . innerHTML = componentString ;
277277 }
278278
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 ) ;
281281
282282 const { debugSettings } = getSettings ( ) ;
283283 if ( debugSettings . showTaskHiddenData ) {
You can’t perform that action at this time.
0 commit comments