diff --git a/app/static/app/js/components/NewTaskPanel.jsx b/app/static/app/js/components/NewTaskPanel.jsx index 04e55278..0785dc87 100644 --- a/app/static/app/js/components/NewTaskPanel.jsx +++ b/app/static/app/js/components/NewTaskPanel.jsx @@ -31,7 +31,8 @@ class NewTaskPanel extends React.Component { resizeSize: parseInt(Storage.getItem('resize_size')) || 2048, items: [], // Coming from plugins, taskInfo: {}, - inReview: false + inReview: false, + loading: false, }; this.save = this.save.bind(this); @@ -56,7 +57,7 @@ class NewTaskPanel extends React.Component { if (!this.state.inReview){ this.setState({inReview: true}); }else{ - this.setState({inReview: false}); + this.setState({inReview: false, loading: true}); e.preventDefault(); this.taskForm.saveLastPresetToStorage(); Storage.setItem('resize_size', this.state.resizeSize); @@ -181,7 +182,11 @@ class NewTaskPanel extends React.Component {