Skip to content

Commit

Permalink
fix: better default title for link components
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickocoffeyo committed Aug 9, 2018
1 parent 13b056d commit d83c4d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ComponentCreateMenu/ComponentCreateMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class ComponentCreateMenu extends Component {

// If this component is a dialog, add a default body.
if (componentType === COMPONENT_TYPE_DIALOG) {
fields.title = 'Link';
fields.field_body = 'Please create information text for this component.';
}

Expand Down

0 comments on commit d83c4d9

Please sign in to comment.