[UI] Add Language to Manual Import, Fix Posters,Banners

This commit is contained in:
Qstick 2017-09-17 16:39:13 -04:00
parent 25eef250a4
commit 48d31523a5
19 changed files with 325 additions and 30 deletions

View file

@ -173,7 +173,10 @@ class SignalRConnector extends Component {
const resource = body.resource;
const state = resource.state;
if (state === 'completed') {
// Both sucessful and failed commands need to be
// completed, otherwise they spin until they timeout.
if (state === 'completed' || state === 'failed') {
this.props.finishCommand(resource);
} else {
this.props.updateCommand(resource);