Skip to content

Commit

Permalink
pipelineBtn renames to expandPipelinesBtn
Browse files Browse the repository at this point in the history
Signed-off-by: Jitendra Gundaniya <[email protected]>
  • Loading branch information
jitu5 committed Jul 17, 2024
1 parent 46ee43e commit 7420f12
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ App.propTypes = {
labelBtn: PropTypes.bool,
layerBtn: PropTypes.bool,
exportBtn: PropTypes.bool,
pipelineBtn: PropTypes.bool,
expandPipelinesBtn: PropTypes.bool,
sidebar: PropTypes.bool,
}),
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const FlowchartPrimaryToolbar = ({
}
data-test={'expand-all-pipelines-toggle'}
onClick={handleToggleExpandAllPipelines}
visible={visible.pipelineBtn}
visible={visible.expandPipelinesBtn}
/>
<IconButton
ariaLabel="Export graph as SVG or PNG"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('PrimaryToolbar', () => {
labelBtn: false,
layerBtn: false,
exportBtn: false,
pipelineBtn: false,
expandPipelinesBtn: false,
};
const wrapper = setup.mount(<ConnectedFlowchartPrimaryToolbar />, {
visible,
Expand Down Expand Up @@ -79,7 +79,7 @@ describe('PrimaryToolbar', () => {
settingsModal: expect.any(Boolean),
labelBtn: expect.any(Boolean),
layerBtn: expect.any(Boolean),
pipelineBtn: expect.any(Boolean),
expandPipelinesBtn: expect.any(Boolean),
sidebar: expect.any(Boolean),
}),
visibleLayers: expect.any(Boolean),
Expand Down
2 changes: 1 addition & 1 deletion src/components/global-toolbar/global-toolbar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('GlobalToolbar', () => {
miniMapBtn: true,
modularPipelineFocusMode: null,
metadataModal: false,
pipelineBtn: true,
expandPipelinesBtn: true,
settingsModal: false,
shareableUrlModal: false,
sidebar: true,
Expand Down
2 changes: 1 addition & 1 deletion src/store/initial-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const createInitialState = () => ({
metadataModal: false,
miniMapBtn: true,
modularPipelineFocusMode: null,
pipelineBtn: true,
expandPipelinesBtn: true,
settingsModal: false,
shareableUrlModal: false,
sidebar: window.innerWidth > sidebarWidth.breakpoint,
Expand Down
2 changes: 1 addition & 1 deletion src/store/initial-state.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('getInitialState', () => {
exportBtn: true,
labelBtn: true,
layerBtn: true,
pipelineBtn: true,
expandPipelinesBtn: true,
},
});
});
Expand Down

0 comments on commit 7420f12

Please sign in to comment.