File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/mgt-components/src/components/mgt-todo Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ export class MgtTodo extends MgtTasksBase {
385385 complete : isCompleted
386386 } ) ;
387387
388- const taskCheckContent = isCompleted ? html `${ getSvg ( SvgIcon . CheckMark ) } ` : html ` ${ getSvg ( SvgIcon . Radio ) } `;
388+ const taskCheckContent = html `${ getSvg ( SvgIcon . CheckMark ) } ` ;
389389
390390 return html `
391391 < div class =${ taskClasses } @blur ="${ this . handleBlur } ">
@@ -595,6 +595,7 @@ export class MgtTodo extends MgtTasksBase {
595595
596596 const taskIndex = this . _tasks . findIndex ( t => t . id === task . id ) ;
597597 this . _tasks [ taskIndex ] = task ;
598+ await this . _task . run ( ) ;
598599 } ;
599600
600601 private readonly removeTask = async ( taskId : string ) : Promise < void > => {
You can’t perform that action at this time.
0 commit comments