Skip to content

Commit

Permalink
feat: Build a container block that shows all the staging operations w…
Browse files Browse the repository at this point in the history
…ith a commit button #116
  • Loading branch information
danielstefanequilobe committed Dec 27, 2021
1 parent 94125af commit fe77ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/blocks/StagingDataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const ChangeGroupHeader = ({
<Th selectedTheme={appStore.theme}>
<TableCellHeaderText>
{deleteStgingIsVisible && (
<div onClick={onClick}>
<div onClick={onClick} style={{cursor: 'pointer'}}>
<MinusIcon width={16} height={16} />
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Projects/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Projects = withRouter(({ history }) => {
onClick={() => history.push('/projects/add')}
/>
)}
{tabValue === 1 && (
{tabValue === 1 && climateWarehouseStore.stagingData.projects.staging.length > 0 && (
<PrimaryButton
label="Commit staging"
size="large"
Expand Down

0 comments on commit fe77ba7

Please sign in to comment.