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