@true-engineering/true-react-common-ui-kit 3.0.0-alpha.18 → 3.0.0-alpha.19
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.
package/package.json
CHANGED
|
@@ -186,15 +186,6 @@ export function FlexibleTable<Values extends Record<string, any>>({
|
|
|
186
186
|
</tr>
|
|
187
187
|
</thead>
|
|
188
188
|
<tbody>
|
|
189
|
-
{!isArrayNotEmpty(content) &&
|
|
190
|
-
nothingFoundContent !== undefined &&
|
|
191
|
-
!infinityScrollConfig?.isLoading &&
|
|
192
|
-
(infinityScrollConfig?.isLastPage === undefined || infinityScrollConfig.isLastPage) && (
|
|
193
|
-
<tr>
|
|
194
|
-
<td colSpan={showedColumns.length}>{nothingFoundContent}</td>
|
|
195
|
-
</tr>
|
|
196
|
-
)}
|
|
197
|
-
|
|
198
189
|
{isLoading ? (
|
|
199
190
|
indexMap(6, (i) => (
|
|
200
191
|
<tr key={i}>
|
|
@@ -207,6 +198,16 @@ export function FlexibleTable<Values extends Record<string, any>>({
|
|
|
207
198
|
))
|
|
208
199
|
) : (
|
|
209
200
|
<>
|
|
201
|
+
{!isArrayNotEmpty(content) &&
|
|
202
|
+
nothingFoundContent !== undefined &&
|
|
203
|
+
!infinityScrollConfig?.isLoading &&
|
|
204
|
+
(infinityScrollConfig?.isLastPage === undefined ||
|
|
205
|
+
infinityScrollConfig.isLastPage) && (
|
|
206
|
+
<tr>
|
|
207
|
+
<td colSpan={showedColumns.length}>{nothingFoundContent}</td>
|
|
208
|
+
</tr>
|
|
209
|
+
)}
|
|
210
|
+
|
|
210
211
|
{content.map((item, i) => (
|
|
211
212
|
<FlexibleTableRow
|
|
212
213
|
item={item}
|