Merge branch 'master' into hub-button

This commit is contained in:
Jeffrey Morgan 2015-04-10 16:35:28 -04:00
commit 54a6caa855
4 changed files with 11 additions and 14 deletions

View File

@ -5,8 +5,9 @@ node_js:
sudo: false sudo: false
cache: cache:
directories:
- resources - resources
- node_modules - node_modules
after_success: after_success:
which ./node_modules/coveralls/bin/coveralls.js && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js - which ./node_modules/coveralls/bin/coveralls.js && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

View File

@ -1,6 +1,6 @@
[![CircleCI](https://img.shields.io/circleci/project/kitematic/kitematic.svg)](https://circleci.com/gh/kitematic/kitematic/tree/master) [![Build Status](https://travis-ci.org/kitematic/kitematic.svg?branch=master)](https://travis-ci.org/kitematic/kitematic)
[![Coverage Status](https://coveralls.io/repos/kitematic/kitematic/badge.svg?branch=master)](https://coveralls.io/r/kitematic/kitematic?branch=master) [![Coverage Status](https://coveralls.io/repos/kitematic/kitematic/badge.svg?branch=master)](https://coveralls.io/r/kitematic/kitematic?branch=master)
[![bitHound Score](https://app.bithound.io/kitematic/kitematic/badges/score.svg)](http://app.bithound.io/kitematic/kitematic) [![bitHound Score](https://www.bithound.io/github/kitematic/kitematic/badges/score.svg)](https://www.bithound.io/github/kitematic/kitematic)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/kitematic/kitematic?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/kitematic/kitematic?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
![Kitematic Logo](https://cloud.githubusercontent.com/assets/251292/5269258/1b229c3c-7a2f-11e4-96f1-e7baf3c86d73.png) ![Kitematic Logo](https://cloud.githubusercontent.com/assets/251292/5269258/1b229c3c-7a2f-11e4-96f1-e7baf3c86d73.png)

View File

@ -1,10 +0,0 @@
machine:
node:
version: 0.10.36
dependencies:
cache_directories:
- "resources"
- "node_modules"
notify:
webhooks:
- url: https://coveralls.io/webhook

View File

@ -9,8 +9,14 @@ var ContainerList = React.createClass({
render: function () { render: function () {
var self = this; var self = this;
var containers = this.props.containers.map(function (container) { var containers = this.props.containers.map(function (container) {
var containerId = container.Id;
if (!containerId && container.State.Downloading) {
// Fall back to the container image name when there is no id. (when the
// image is downloading).
containerId = container.Image;
}
return ( return (
<ContainerListItem key={container.Id} container={container} start={self._start}/> <ContainerListItem key={containerId} container={container} start={self._start} />
); );
}); });
return ( return (