Fixed selection of cards with empty title

This commit is contained in:
Giulio Cesare Solaroli 2015-08-26 09:45:12 +02:00
parent c8ef5dc0e3
commit eeb597354a

View File

@ -276,7 +276,7 @@ Clipperz.PM.UI.Components.Cards.ViewClass = React.createClass({
if (this.props['loading'] == true) {
result = this.renderLoading();
} else if (this.props['label']) {
} else if (this.props['_reference']) {
result = this.renderCard();
} else {
result = this.renderEmpty();