Merge pull request #500 from Rendez/dev

Exclude JSX navigation div if there are no actions
old
Javi Velasco 2016-05-10 20:07:55 +02:00
commit 7805e181c1
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ const Dialog = (props) => {
{props.title ? <h6 className={style.title}>{props.title}</h6> : null}
{props.children}
</section>
{actions
{actions.length
? <nav role='navigation' className={style.navigation}>
{actions}
</nav>