aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx b/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx
index 92ffdfe5690..9f26caa517f 100644
--- a/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx
+++ b/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx
@@ -76,7 +76,8 @@ export default class LinkRow extends React.PureComponent<Props> {
link.name!
)}
modalHeader={translate('project_links.delete_project_link')}
- onConfirm={this.props.onDelete}>
+ onConfirm={this.props.onDelete}
+ >
{({ onClick }) => (
<Button className="button-red js-delete-button" onClick={onClick}>
{translate('delete')}