File tree Expand file tree Collapse file tree
src/renderer/src/components/Team/ProjectDialog Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,10 +27,7 @@ import { StyledDialogTitle } from '../../StyledDialogTitle';
2727import Tags from '../../../control/Tags' ;
2828import { AltActionBar } from '../../../components/AltActionBar' ;
2929import { initProjectState , IProjectDialog } from './projectDialogTypes' ;
30- import {
31- BOLD_WORKFLOW_PROCESS ,
32- useTeamWorkflowProcess ,
33- } from '../../../crud' ;
30+ import { BOLD_WORKFLOW_PROCESS , useTeamWorkflowProcess } from '../../../crud' ;
3431
3532interface IProps extends IDialog < IProjectDialog > {
3633 nameInUse ?: ( newName : string ) => boolean ;
@@ -165,8 +162,16 @@ export function ProjectDialog(props: IProps) {
165162 />
166163 < ProjectDescription state = { state } setState = { setState } />
167164 </ Box >
168- < ProjectType type = { type } onChange = { handleTypeChange } team = { team } />
169- < ProjectStory state = { state } setState = { setState } />
165+ { teamWorkflow !== BOLD_WORKFLOW_PROCESS && (
166+ < >
167+ < ProjectType
168+ type = { type }
169+ onChange = { handleTypeChange }
170+ team = { team }
171+ />
172+ < ProjectStory state = { state } setState = { setState } />
173+ </ >
174+ ) }
170175 < Stack sx = { { pt : 1 , pb : 2 } } >
171176 < Language
172177 { ...state }
You can’t perform that action at this time.
0 commit comments