diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectActivity/components/Event.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectActivity/components/Event.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/Event.js b/server/sonar-web/src/main/js/apps/projectActivity/components/Event.js index 1902f12fc68..6697449dc5d 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/Event.js +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/Event.js @@ -78,8 +78,8 @@ export default class Event extends React.PureComponent { render() { const { event, canAdmin } = this.props; const canChange = ['OTHER', 'VERSION'].includes(event.category); - const canDelete = event.category === 'OTHER' || - (event.category === 'VERSION' && !this.props.isFirst); + const canDelete = + event.category === 'OTHER' || (event.category === 'VERSION' && !this.props.isFirst); const showActions = canAdmin && (canChange || canDelete); return ( |