Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/projects/detail/components/SpecQuestions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const SpecQuestions = ({
break
case 'radio-group':
ChildElem = TCFormFields.RadioGroup
_.assign(elemProps, {wrapperClass: cn('row', q.theme), options: q.options})
_.assign(elemProps, { layout: q.layout, wrapperClass: cn('row', q.theme), options: q.options})
// child = <TCFormFields.RadioGroup name={q.fieldName} label={q.label} value={value} wrapperClass="row" options={q.options} />
break
case 'tiled-radio-group':
Expand Down
3 changes: 2 additions & 1 deletion src/projects/detail/containers/ProjectAddPhaseContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,14 @@ class ProjectAddPhaseContainer extends React.Component {

render() {
const props = this.props
const nonAddOnProductTemplates = _.filter(props.allProductTemplates, pt => !pt.isAddOn)

return (
<EnhancedCreateView
{...this.props}
onCancel={this.closeWizard}
showModal
productTemplates={props.allProductTemplates}
productTemplates={nonAddOnProductTemplates}
onProductTemplateChange={this.updateProductTemplate}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion src/projects/reducers/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export const projectState = function (state=initialState, action) {

case ACCEPT_OR_REFUSE_INVITE_PENDING:
return Object.assign({}, state, {
showUserInvited: false
showUserInvited: true
})

case ACCEPT_OR_REFUSE_INVITE_SUCCESS: {
Expand Down