diff --git a/ui/src/kapacitor/components/config/PagerDutyConfig.js b/ui/src/kapacitor/components/config/PagerDutyConfig.js index f8f63d06f4..51e89136c3 100644 --- a/ui/src/kapacitor/components/config/PagerDutyConfig.js +++ b/ui/src/kapacitor/components/config/PagerDutyConfig.js @@ -21,7 +21,7 @@ class PagerDutyConfig extends Component { const {options} = this.props.config const {url} = options const serviceKey = options['service-key'] - + const refFunc = r => (this.serviceKey = r) return (
@@ -29,7 +29,7 @@ class PagerDutyConfig extends Component { (this.serviceKey = r)} + refFunc={refFunc} />