Skip to content

Commit 6380046

Browse files
committed
call back added to fix missing labels
1 parent 954ee88 commit 6380046

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/ciPipeline/Webhook/WebhookDetailsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export function WebhookDetailsModal({ close }: WebhookDetailType) {
365365
<div className="flexbox w-100 dc__position-rel en-2 bw-1 br-4 h-32">
366366
<CustomInput
367367
name="api-token"
368-
label={renderWebhhokTokenLabel}
368+
label={renderWebhhokTokenLabel()}
369369
placeholder="Enter API token"
370370
rootClassName="bcn-0 dc__no-border"
371371
onChange={handleTokenChange}

src/components/cluster/ClusterForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ export default function ClusterForm({
670670
value={state.url.value}
671671
error={state.url.error}
672672
onChange={handleOnChange}
673-
label={clusterLabel}
673+
label={clusterLabel()}
674674
disabled={isDefaultCluster()}
675675
placeholder="Enter server URL"
676676
dataTestid="enter_server_url_input"

src/components/material/MaterialView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ export class MaterialView extends Component<MaterialViewProps, MaterialViewState
526526
</div>
527527
<div>
528528
<CustomInput
529-
label={this.renderGitRepoUrlLabel}
529+
label={this.renderGitRepoUrlLabel()}
530530
name="Git Repo URL"
531531
placeholder={this.gitAuthType('placeholder')}
532532
value={`${this.props.material.url}`}

0 commit comments

Comments
 (0)