|
|
@ -92,7 +92,6 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
|
|
|
componentDidMount() {
|
|
|
|
this.getCategories();
|
|
|
|
this.getCategories();
|
|
|
|
this.getTags();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
componentDidUpdate(prevProps, prevState, snapshot) {
|
|
|
|
componentDidUpdate(prevProps, prevState, snapshot) {
|
|
|
@ -117,7 +116,7 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
).then(res => {
|
|
|
|
).then(res => {
|
|
|
|
if (res.status === 200) {
|
|
|
|
if (res.status === 200) {
|
|
|
|
const categories = JSON.parse(res.data.data);
|
|
|
|
const categories = JSON.parse(res.data.data);
|
|
|
|
|
|
|
|
this.getTags();
|
|
|
|
const globalCategories = categories.map(category => {
|
|
|
|
const globalCategories = categories.map(category => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Option
|
|
|
|
<Option
|
|
|
|