Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Commit

Permalink
addressed feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Oct 28, 2020
1 parent 5f1d276 commit f75bd86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tc-ui/src/primitives/multiple-choice/server.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const EditMultipleChoice = props => {
} = props;
const name = !isNested ? propertyName : '';
const options = Object.keys(getEnums()[type]);
const value = props.value ? props.value.sort() : [];
const value = props.value || [];
return (
<span className="o-forms-input o-forms-input--checkbox o-forms-input--inline">
{options.map((option, index) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const { RelationshipPicker } = require('../relationship-picker');
const { SelectedRelationship } = require('./lib/selected-relationship');

const RelationshipPickerContainer = props => (
// Note the extra div is there to playa role in flexbox-based styling
<div>
<RelationshipPicker
{...props}
Expand Down

0 comments on commit f75bd86

Please sign in to comment.