@cloudtower/eagle 0.29.12 → 0.29.13

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.
@@ -7,7 +7,6 @@ var common = require('./common.js');
7
7
  var TableWidget = require('./TableWidget.js');
8
8
  var antd = require('antd');
9
9
  var cs = require('classnames');
10
- var _ = require('lodash');
11
10
  var React = require('react');
12
11
  var TableSkeleton = require('./TableSkeleton.js');
13
12
 
@@ -81,7 +80,7 @@ const Table = props => {
81
80
  if (loading) {
82
81
  return _dataSource;
83
82
  }
84
- if (!_.isNil(error)) {
83
+ if (!!error) {
85
84
  return [];
86
85
  }
87
86
  return _dataSource != null ? _dataSource : [];
@@ -90,7 +89,7 @@ const Table = props => {
90
89
  if (loading) {
91
90
  return "";
92
91
  }
93
- if (!_.isNil(error)) {
92
+ if (!!error) {
94
93
  return error;
95
94
  }
96
95
  return empty;