itizawa 6 年 前
コミット
27295d0df8

+ 8 - 0
src/client/js/components/Admin/MarkdownSetting/XssForm.jsx

@@ -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;