File tree Expand file tree Collapse file tree 2 files changed +447
-471
lines changed
packages/ui-tickets/src/boards/components Expand file tree Collapse file tree 2 files changed +447
-471
lines changed Original file line number Diff line number Diff line change 11import { IBoard , IPipeline , IStage } from "../types" ;
22
33import ControlLabel from "@erxes/ui/src/components/form/Label" ;
4- import { FormContainer } from "../styles/common" ;
54import Select , { components } from "react-select" ;
65import FormGroup from "@erxes/ui/src/components/form/Group" ;
76import React from "react" ;
87import { selectOptions } from "../utils" ;
9- import { nextMonth } from "@erxes/ui/src/utils/calendar" ;
108type Props = {
119 boards : IBoard [ ] ;
1210 pipelines : IPipeline [ ] ;
@@ -83,7 +81,7 @@ class BoardSelect extends React.Component<Props> {
8381 __ ( "Choose a board" ) ,
8482 boardId ,
8583 ( board ) => onChangeBoard ( board . value ) ,
86- selectOptions ( boards )
84+ selectOptions ( boards ) ,
8785 ) }
8886 </ FormGroup >
8987
@@ -97,7 +95,7 @@ class BoardSelect extends React.Component<Props> {
9795 const name = selected ?. isHideName || false ;
9896 onChangePipeline ( pipeline . value , name ) ;
9997 } ,
100- selectOptions ( pipelines )
98+ selectOptions ( pipelines ) ,
10199 ) }
102100 </ FormGroup >
103101
@@ -107,7 +105,7 @@ class BoardSelect extends React.Component<Props> {
107105 __ ( "Choose a stage" ) ,
108106 stageId ,
109107 ( stage ) => onChangeStage ( stage . value , callback ) ,
110- selectOptions ( stages )
108+ selectOptions ( stages ) ,
111109 ) }
112110 </ FormGroup >
113111 </ >
You can’t perform that action at this time.
0 commit comments