Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Aug 29, 2024
1 parent 523f595 commit 18d5c9c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions src/app/Workflows/Pipelines/Pipeline/Pipeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ const Pipeline: React.FC<PipelineProps> = ({
<div id={`pipeline`} className={styles['grid']}>
{tab === 'tasks' && <DagView pipeline={pipeline} groupId={groupId} />}
{tab === 'env' && <EnvTab pipeline={pipeline} groupId={groupId} />}
{tab === 'params' && <ParametersTab pipeline={pipeline} groupId={groupId} />}
{tab === 'params' && (
<ParametersTab pipeline={pipeline} groupId={groupId} />
)}
{tab === 'execprofile' && (
<ExecutionProfileTab pipeline={pipeline} groupId={groupId} />
)}
{tab === 'uses' && <InheritenceTab pipeline={pipeline} groupId={groupId} />}
{tab === 'uses' && (
<InheritenceTab pipeline={pipeline} groupId={groupId} />
)}
</div>
)}
</QueryWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const ELKLayoutFlow: React.FC<DagViewProps> = ({ groupId, pipeline }) => {
});

const handleToggleView = (view: View) => {
alert(!views[view])
alert(!views[view]);
setViews({
...views,
[view]: !views[view],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type TabProps = {
const InheritenceTab: React.FC<TabProps> = ({ groupId, pipeline }) => {
return (
<div className={styles['form']}>
{JSON.stringify(pipeline.params)}
{JSON.stringify(pipeline.uses)}
{/* <FormControl fullWidth margin="dense" style={{ marginBottom: '-16px' }}>
<InputLabel size="small" id="mode">
Task invocation mode
Expand Down

0 comments on commit 18d5c9c

Please sign in to comment.