Fixed stop button showing on initial start

Signed-off-by: TeckniX <lokitek@gmail.com>
This commit is contained in:
TeckniX 2015-05-04 13:56:53 -04:00
parent e348ff938b
commit 6d9a8de3ed
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ var ContainerDetailsSubheader = React.createClass({
if (!this.props.container) {
return false;
}
return (this.props.container.State.Downloading || this.props.container.State.ExitCode);
return (this.props.container.State.Downloading || this.props.container.State.ExitCode || !this.props.container.State.Running);
},
disableStart: function () {
if (!this.props.container) {