diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates')
5 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/CopyQualityGateForm.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/CopyQualityGateForm.tsx index 0355ff8e57f..4c16c04184c 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/CopyQualityGateForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/CopyQualityGateForm.tsx @@ -37,7 +37,7 @@ interface State { } export default class CopyQualityGateForm extends React.PureComponent<Props, State> { - mounted: boolean; + mounted = false; static contextTypes = { router: PropTypes.object diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/CreateQualityGateForm.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/CreateQualityGateForm.tsx index bfc05396ec6..cb228fd06ad 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/CreateQualityGateForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/CreateQualityGateForm.tsx @@ -36,7 +36,7 @@ interface State { } export default class CreateQualityGateForm extends React.PureComponent<Props, State> { - mounted: boolean; + mounted = false; static contextTypes = { router: PropTypes.object diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteConditionForm.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteConditionForm.tsx index 78e1e2be3eb..c8f041fef39 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteConditionForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteConditionForm.tsx @@ -36,7 +36,7 @@ interface State { } export default class DeleteConditionForm extends React.PureComponent<Props, State> { - mounted: boolean; + mounted = false; state: State = { loading: false }; componentDidMount() { diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx index 617385a0303..b37e21d0b5d 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/DeleteQualityGateForm.tsx @@ -36,7 +36,7 @@ interface State { } export default class DeleteQualityGateForm extends React.PureComponent<Props, State> { - mounted: boolean; + mounted = false; static contextTypes = { router: PropTypes.object diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/RenameQualityGateForm.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/RenameQualityGateForm.tsx index b336ad6a1f1..964f160ad40 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/RenameQualityGateForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/RenameQualityGateForm.tsx @@ -35,7 +35,7 @@ interface State { } export default class RenameQualityGateForm extends React.PureComponent<Props, State> { - mounted: boolean; + mounted = false; constructor(props: Props) { super(props); |