X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4cad4c0d882111b0eb5576005108a62ff30b143d..2cec626e679d593d5b208a0807b391ab978e0e9d:/src/views-components/projects-tree-picker/tree-picker-field.tsx

diff --git a/src/views-components/projects-tree-picker/tree-picker-field.tsx b/src/views-components/projects-tree-picker/tree-picker-field.tsx
index a8ab05f699..e5fecf9799 100644
--- a/src/views-components/projects-tree-picker/tree-picker-field.tsx
+++ b/src/views-components/projects-tree-picker/tree-picker-field.tsx
@@ -2,19 +2,20 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from "react";
+import React from "react";
 import { Typography } from "@material-ui/core";
-import { TreeItem } from "~/components/tree/tree";
+import { TreeItem } from "components/tree/tree";
 import { WrappedFieldProps } from 'redux-form';
-import { ProjectsTreePicker } from '~/views-components/projects-tree-picker/projects-tree-picker';
-import { ProjectsTreePickerItem } from '~/views-components/projects-tree-picker/generic-projects-tree-picker';
-import { PickerIdProp } from '~/store/tree-picker/picker-id';
+import { ProjectsTreePicker } from 'views-components/projects-tree-picker/projects-tree-picker';
+import { ProjectsTreePickerItem } from 'views-components/projects-tree-picker/generic-projects-tree-picker';
+import { PickerIdProp } from 'store/tree-picker/picker-id';
 
 export const ProjectTreePickerField = (props: WrappedFieldProps & PickerIdProp) =>
     <div style={{ height: '200px', display: 'flex', flexDirection: 'column' }}>
         <ProjectsTreePicker
             pickerId={props.pickerId}
-            toggleItemActive={handleChange(props)} />
+            toggleItemActive={handleChange(props)}
+            options={{ showOnlyOwned: false, showOnlyWritable: true }} />
         {props.meta.dirty && props.meta.error &&
             <Typography variant='caption' color='error'>
                 {props.meta.error}
@@ -30,6 +31,7 @@ export const CollectionTreePickerField = (props: WrappedFieldProps & PickerIdPro
         <ProjectsTreePicker
             pickerId={props.pickerId}
             toggleItemActive={handleChange(props)}
+            options={{ showOnlyOwned: false, showOnlyWritable: true }}
             includeCollections />
         {props.meta.dirty && props.meta.error &&
             <Typography variant='caption' color='error'>
