|
|
@@ -27,6 +27,10 @@ class XssForm extends React.Component {
|
|
|
this.onClickSubmit = this.onClickSubmit.bind(this);
|
|
|
}
|
|
|
|
|
|
+ async componentDidMount() {
|
|
|
+ await this.syncXssSettings();
|
|
|
+ }
|
|
|
+
|
|
|
onClickSubmit() {
|
|
|
// TODO GW-303 create apiV3 of update setting
|
|
|
}
|
|
|
@@ -39,6 +43,10 @@ class XssForm extends React.Component {
|
|
|
this.setState({ [name]: value });
|
|
|
}
|
|
|
|
|
|
+ async syncXssSettings() {
|
|
|
+ // TODO GW-304 createApiV3
|
|
|
+ }
|
|
|
+
|
|
|
xssOptions() {
|
|
|
const { t } = this.props;
|
|
|
|