diff --git a/package.json b/package.json
index 78f231d311..045564e923 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "Kitematic",
- "version": "0.10.4",
+ "version": "0.12.0",
"author": "Kitematic",
"description": "Simple Docker Container management for Mac OS X.",
"homepage": "https://kitematic.com/",
diff --git a/src/components/ImageCard.react.js b/src/components/ImageCard.react.js
index 2816757695..0d3a056d68 100644
--- a/src/components/ImageCard.react.js
+++ b/src/components/ImageCard.react.js
@@ -99,7 +99,6 @@ var ImageCard = React.createClass({
shell.openExternal(repoUri);
},
render: function () {
- var self = this;
var name;
if (this.props.image.namespace === 'library') {
name = (
@@ -119,7 +118,7 @@ var ImageCard = React.createClass({
var description;
if (this.props.image.description) {
description = this.props.image.description;
- } else if(this.props.image.short_description){
+ } else if (this.props.image.short_description) {
description = this.props.image.short_description;
} else {
description = 'No description.';
@@ -134,17 +133,26 @@ var ImageCard = React.createClass({
imgsrc = 'https://kitematic.com/recommended/kitematic_html.png';
}
var tags;
- if (self.state.loading) {
+ if (this.state.loading) {
tags =
To delete, remove all containers
using the above image
Please select an image tag.
{tags} - diff --git a/src/components/NewContainerSearch.react.js b/src/components/NewContainerSearch.react.js index 886ad17817..83272a2182 100644 --- a/src/components/NewContainerSearch.react.js +++ b/src/components/NewContainerSearch.react.js @@ -240,7 +240,7 @@ module.exports = React.createClass({ ); paginateResults = null; } else if (filter === 'userimages') { - let userImageItems = this.state.images.map(image => { + let userImageItems = this.state.images.map((image, index) => { let repo = image.RepoTags[0].split(':')[0]; if (repo.indexOf('/') === -1) { repo = 'local/' + repo; @@ -250,7 +250,12 @@ module.exports = React.createClass({ let tags = image.tags.join('-'); image.star_count = 0; image.is_local = true; - return (