Skip to content

Commit

Permalink
Fix #44
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovert Lota Palonpon committed Apr 20, 2019
1 parent fb2c5c1 commit 0463e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/views/__backoffice/partials/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ const Header = props => {
/>
</Grid>

{Object.keys(primaryAction) > 0 && (
{Object.keys(primaryAction).length > 0 && (
<Grid item>
<Skeleton
{...skeletonProps}
Expand Down Expand Up @@ -651,7 +651,7 @@ const Header = props => {
</Typography>
</Grid>

{Object.keys(primaryAction) > 0 && (
{Object.keys(primaryAction).length > 0 && (
<Grid item>
<Button
className={classes.button}
Expand Down

0 comments on commit 0463e7f

Please sign in to comment.