зеркало из https://github.com/docker/kitematic.git
fix for displaying no description on repo containers that had short descriptions
Signed-off-by: Thomas Florin <thoflo002@gmail.com>
This commit is contained in:
Родитель
cd3ea2c619
Коммит
e639851f45
|
@ -105,6 +105,8 @@ var ImageCard = React.createClass({
|
|||
var description;
|
||||
if (this.props.image.description) {
|
||||
description = this.props.image.description;
|
||||
} else if(this.props.image.short_description){
|
||||
description = this.props.image.short_description;
|
||||
} else {
|
||||
description = "No description.";
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче