From 2340918b3b75be5e9c60ced6136265216eac2d74 Mon Sep 17 00:00:00 2001 From: Daniel Kos Date: Tue, 27 Nov 2018 13:35:19 +0100 Subject: [PATCH] Connect project tree with redux-form Feature #14820 Arvados-DCO-1.1-Signed-off-by: Daniel Kos --- .../form-fields/search-bar-form-fields.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views-components/form-fields/search-bar-form-fields.tsx b/src/views-components/form-fields/search-bar-form-fields.tsx index e05b1d3b..da0b12b5 100644 --- a/src/views-components/form-fields/search-bar-form-fields.tsx +++ b/src/views-components/form-fields/search-bar-form-fields.tsx @@ -12,6 +12,8 @@ import { ClusterObjectType } from '~/models/search-bar'; import { HomeTreePicker } from '~/views-components/projects-tree-picker/home-tree-picker'; import { SEARCH_BAR_ADVANCE_FORM_PICKER_ID } from '~/store/search-bar/search-bar-actions'; import { SearchBarAdvancedPropertiesView } from '~/views-components/search-bar/search-bar-advanced-properties-view'; +import { TreeItem } from "~/components/tree/tree"; +import { ProjectsTreePickerItem } from "~/views-components/projects-tree-picker/generic-projects-tree-picker"; export const SearchBarTypeField = () => const ProjectsPicker = (props: WrappedFieldProps) =>
- + ) => { + props.input.onChange(id); + } + }/>
; export const SearchBarTrashField = () => -- 2.30.2