Skip to content

Commit c8f39f9

Browse files
committed
refactor: - replace strings with values from TaskLayoutComponent
1 parent 068d48d commit c8f39f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layout/TaskLayoutOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class TaskLayoutOptions {
7979
public get toggleableComponents() {
8080
return taskLayoutComponents.filter((component) => {
8181
// Description and blockLink are always shown
82-
return component !== 'description' && component !== 'blockLink';
82+
return component !== TaskLayoutComponent.Description && component !== TaskLayoutComponent.BlockLink;
8383
});
8484
}
8585

0 commit comments

Comments
 (0)