17306: Added configurable options for favorite tree
[arvados-workbench2.git] / src / views-components / projects-tree-picker / favorites-tree-picker.tsx
index 09704066a17d4a4d50a8030bede397942fb8678e..2f149f4a86be412de6e082ac947b9b536bf87fc2 100644 (file)
@@ -11,7 +11,7 @@ import { loadFavoritesProject } from '~/store/tree-picker/tree-picker-actions';
 export const FavoritesTreePicker = connect(() => ({
     rootItemIcon: FavoriteIcon,
 }), (dispatch: Dispatch): Pick<ProjectsTreePickerProps, 'loadRootItem'> => ({
-    loadRootItem: (_, pickerId, includeCollections, includeFiles) => {
-        dispatch<any>(loadFavoritesProject({ pickerId, includeCollections, includeFiles }));
+    loadRootItem: (_, pickerId, includeCollections, includeFiles, options) => {
+        dispatch<any>(loadFavoritesProject({ pickerId, includeCollections, includeFiles }, options));
     },
 }))(ProjectsTreePicker);
\ No newline at end of file