Skip to content

Commit

Permalink
Merge branch 'release/1.7.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrewer1689 committed Oct 24, 2017
2 parents 44822b9 + 64c3d4a commit 609cb8c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.7.5 - 2017-10-24
##Changed
- Fixed the **Modal**'s `closeButton` boolean condition.

## 1.7.4 - 2017-10-23
##Changed
- Updated **Modal** to work a little more like the **Drawwer**.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/js/components/ModulesModal.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ export default class ModulesModal extends React.Component {
allowedTypes: ''
}, {
name: 'closeButton',
type: 'string || object',
type: 'bool || string || object',
default: '',
description: 'A Modal\'s close button can be changed using a string or giving custom JSX.',
description: 'A Modal\'s close button can be disabled or or the icon type can be changed using a string or giving custom JSX.',
allowedTypes: ''
}, {
name: 'height',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-cm-ui",
"version": "1.7.4",
"version": "1.7.5",
"description": "React UI for Church management",
"main": "lib/",
"jsnext:main": "src/",
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/Modal.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ModalHeader extends Component {
<Header as="h2" className={titleClass} title={title}>{title}</Header>

<div className="modal-close-button-container">
{!closeButton || _.isString(closeButton) ? (
{_.isUndefined(closeButton) || _.isString(closeButton) ? (
<Button
className="modal-close-button"
color={inverse ? 'transparent' : 'alternate'}
Expand Down

0 comments on commit 609cb8c

Please sign in to comment.