Mirror von
https://github.com/SonarSource/sonarqube.git
synchronisiert 2024-07-30 08:18:40 +02:00
open comment box on issue transition
Dieser Commit ist enthalten in:
Ursprung
4d04e550a9
Commit
5b77a83d55
@ -65,6 +65,12 @@ class Issue extends React.PureComponent {
|
||||
if (!prevProps.selected && this.props.selected) {
|
||||
this.bindShortcuts();
|
||||
}
|
||||
|
||||
// $FlowFixMe resolution doesn't exist in type `Model`
|
||||
const { resolution } = this.props.issue;
|
||||
if (!prevProps.issue.resolution && ['FALSE-POSITIVE', 'WONTFIX'].includes(resolution)) {
|
||||
this.issueView.comment({ fromTransition: true });
|
||||
}
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren