2
0
yusuketk 7 жил өмнө
parent
commit
6db67135bf

+ 7 - 0
src/client/js/components/TagsList.jsx

@@ -11,6 +11,13 @@ export default class TagsList extends React.Component {
     };
   }
 
+  async componentWillMount() {
+    const res = await this.props.crowi.apiGet('/tags.list');
+    this.setState({
+      tags: res.tags,
+    });
+  }
+
   render() {
     return (
       <div>