From 6d9a8de3ed4ac7c7aa4905252833d3b785ba25e7 Mon Sep 17 00:00:00 2001 From: TeckniX Date: Mon, 4 May 2015 13:56:53 -0400 Subject: [PATCH] Fixed stop button showing on initial start Signed-off-by: TeckniX --- src/components/ContainerDetailsSubheader.react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ContainerDetailsSubheader.react.js b/src/components/ContainerDetailsSubheader.react.js index 556f9bc3b2..6129de5c01 100644 --- a/src/components/ContainerDetailsSubheader.react.js +++ b/src/components/ContainerDetailsSubheader.react.js @@ -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) {