Skip to content

Commit a69d5de

Browse files
committed
code formatting
1 parent dce1253 commit a69d5de

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/cdPipeline/CDPipeline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default class CDPipeline extends Component<CDPipelineProps, CDPipelineSta
132132
}
133133

134134
escFunction(event) {
135-
if (event.keyCode === 27 || event.key === 'Escape' && typeof this.props.close === 'function') {
135+
if ((event.keyCode === 27 || event.key === 'Escape') && typeof this.props.close === 'function') {
136136
this.props.close()
137137
}
138138
}

src/components/ciPipeline/ExternalCIPipeline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default class ExternalCIPipeline extends Component<CIPipelineProps, Exter
102102
}
103103

104104
escFunction(event) {
105-
if (event.keyCode === 27 || event.key === 'Escape' && typeof this.props.close === 'function') {
105+
if ((event.keyCode === 27 || event.key === 'Escape') && typeof this.props.close === 'function') {
106106
this.props.close()
107107
}
108108
}

src/components/ciPipeline/LinkedCIPipelineView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default class LinkedCIPipelineView extends Component<CIPipelineProps, CIP
8080
}
8181

8282
escFunction(event) {
83-
if (event.keyCode === 27 || event.key === 'Escape' && typeof this.props.close === 'function') {
83+
if ((event.keyCode === 27 || event.key === 'Escape') && typeof this.props.close === 'function') {
8484
this.props.close()
8585
}
8686
}

0 commit comments

Comments
 (0)