Fixed selection of cards with empty title
This commit is contained in:
parent
c8ef5dc0e3
commit
eeb597354a
@ -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;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user