From f9c4bd3a09ff56b70dc0bb44d2b987c4e55b16bb Mon Sep 17 00:00:00 2001 From: Maksim Chervonnyi Date: Thu, 26 Sep 2024 18:58:55 +0200 Subject: [PATCH] cosmetic change --- catalog/app/containers/Admin/Buckets/Tabulator.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/catalog/app/containers/Admin/Buckets/Tabulator.tsx b/catalog/app/containers/Admin/Buckets/Tabulator.tsx index c54571daa71..4db96720490 100644 --- a/catalog/app/containers/Admin/Buckets/Tabulator.tsx +++ b/catalog/app/containers/Admin/Buckets/Tabulator.tsx @@ -417,8 +417,9 @@ export default function Tabulator({ bucket, tabulatorTables }: TabulatorProps) { const classes = useStyles() loadMode('yaml') const [toAdd, setToAdd] = React.useState(false) - if (!tabulatorTables.length && !toAdd) + if (!tabulatorTables.length && !toAdd) { return setToAdd(true)} /> + } return ( <> {tabulatorTables.map((tabulatorTable) => (