mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Update the if condition to check for existing data in array subtable
This commit is contained in:
@@ -33,7 +33,11 @@ export default function EmptyTable() {
|
||||
: false;
|
||||
let contents = <></>;
|
||||
|
||||
if (hasData) {
|
||||
if (
|
||||
(tableSettings.isCollection !== false ||
|
||||
tableSettings.subTableKey?.length) &&
|
||||
hasData
|
||||
) {
|
||||
contents = (
|
||||
<>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user