mirror of https://github.com/docker/docs.git
Fixed stop button showing on initial start
Signed-off-by: TeckniX <lokitek@gmail.com>
This commit is contained in:
parent
e348ff938b
commit
6d9a8de3ed
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue