From 9064ba75e054f759779f79632bf1e219e1dfa919 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Mon, 20 Apr 2015 10:48:14 -0400 Subject: [PATCH] Allow downloading multiple containers --- src/ContainerList.react.js | 8 +------- src/Containers.react.js | 13 +------------ 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/src/ContainerList.react.js b/src/ContainerList.react.js index d2954dc603..aca50faa7c 100644 --- a/src/ContainerList.react.js +++ b/src/ContainerList.react.js @@ -19,15 +19,9 @@ var ContainerList = React.createClass({ ); }); - var newItem; - if (!this.props.downloading) { - newItem = ; - } else { - newItem = ''; - } return (
    - {newItem} + {containers}
); diff --git a/src/Containers.react.js b/src/Containers.react.js index c0275e22cd..b75d9ea4c9 100644 --- a/src/Containers.react.js +++ b/src/Containers.react.js @@ -164,17 +164,6 @@ var Containers = React.createClass({ ); } - var button; - if (this.state.downloading) { - button = ( - Only one Docker image can be downloaded at a time.}> - - - ); - } else { - button = ; - } - var container = this.context.router.getCurrentParams().name ? this.state.containers[this.context.router.getCurrentParams().name] : {}; return (
@@ -184,7 +173,7 @@ var Containers = React.createClass({

Containers

- {button} +