@@ -6,6 +6,7 @@ import { PageAddTaskButton } from '@/activities/tasks/components/PageAddTaskButt
6
6
import { TaskGroups } from '@/activities/tasks/components/TaskGroups' ;
7
7
import { TASKS_TAB_LIST_COMPONENT_ID } from '@/activities/tasks/constants/TasksTabListComponentId' ;
8
8
import { ObjectFilterDropdownButton } from '@/object-record/object-filter-dropdown/components/ObjectFilterDropdownButton' ;
9
+ import { RecordFieldValueSelectorContextProvider } from '@/object-record/record-store/contexts/RecordFieldValueSelectorContext' ;
9
10
import { RelationPickerHotkeyScope } from '@/object-record/relation-picker/types/RelationPickerHotkeyScope' ;
10
11
import { PageBody } from '@/ui/layout/page/PageBody' ;
11
12
import { PageContainer } from '@/ui/layout/page/PageContainer' ;
@@ -49,36 +50,38 @@ export const Tasks = () => {
49
50
50
51
return (
51
52
< PageContainer >
52
- < RecoilScope CustomRecoilScopeContext = { TasksRecoilScopeContext } >
53
- < TasksEffect filterDropdownId = { filterDropdownId } />
54
- < PageHeader title = "Tasks" Icon = { IconCheckbox } >
55
- < PageAddTaskButton />
56
- </ PageHeader >
57
- < PageBody >
58
- < StyledTasksContainer >
59
- < TopBar
60
- leftComponent = {
61
- < StyledTabListContainer >
62
- < TabList
63
- tabListId = { TASKS_TAB_LIST_COMPONENT_ID }
64
- tabs = { TASK_TABS }
53
+ < RecordFieldValueSelectorContextProvider >
54
+ < RecoilScope CustomRecoilScopeContext = { TasksRecoilScopeContext } >
55
+ < TasksEffect filterDropdownId = { filterDropdownId } />
56
+ < PageHeader title = "Tasks" Icon = { IconCheckbox } >
57
+ < PageAddTaskButton />
58
+ </ PageHeader >
59
+ < PageBody >
60
+ < StyledTasksContainer >
61
+ < TopBar
62
+ leftComponent = {
63
+ < StyledTabListContainer >
64
+ < TabList
65
+ tabListId = { TASKS_TAB_LIST_COMPONENT_ID }
66
+ tabs = { TASK_TABS }
67
+ />
68
+ </ StyledTabListContainer >
69
+ }
70
+ rightComponent = {
71
+ < ObjectFilterDropdownButton
72
+ filterDropdownId = { filterDropdownId }
73
+ key = "tasks-filter-dropdown-button"
74
+ hotkeyScope = { {
75
+ scope : RelationPickerHotkeyScope . RelationPicker ,
76
+ } }
65
77
/>
66
- </ StyledTabListContainer >
67
- }
68
- rightComponent = {
69
- < ObjectFilterDropdownButton
70
- filterDropdownId = { filterDropdownId }
71
- key = "tasks-filter-dropdown-button"
72
- hotkeyScope = { {
73
- scope : RelationPickerHotkeyScope . RelationPicker ,
74
- } }
75
- />
76
- }
77
- />
78
- < TaskGroups filterDropdownId = { filterDropdownId } />
79
- </ StyledTasksContainer >
80
- </ PageBody >
81
- </ RecoilScope >
78
+ }
79
+ />
80
+ < TaskGroups filterDropdownId = { filterDropdownId } />
81
+ </ StyledTasksContainer >
82
+ </ PageBody >
83
+ </ RecoilScope >
84
+ </ RecordFieldValueSelectorContextProvider >
82
85
</ PageContainer >
83
86
) ;
84
87
} ;
0 commit comments