react-crud-mobile 1.3.234 → 1.3.235

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2202,6 +2202,13 @@ function UIElement(props) {
2202
2202
  };
2203
2203
  var Card = function Card(props) {
2204
2204
  var isCard = scope.is('type|layout', 'card');
2205
+ if (scope.isType('list')) {
2206
+ var empty = scope.getPart('empty', null, undefined);
2207
+ var items = scope.getItems();
2208
+ if (empty === false && reactCrudUtils.Utils.isEmpty(items)) {
2209
+ isCard = false;
2210
+ }
2211
+ }
2205
2212
  if (isCard) {
2206
2213
  var _box = _extends({}, getStyle('box', _extends({}, boxStyle.box, {
2207
2214
  alignSelf: 'stretch'