mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-28 16:06:41 +01:00
fix create table showing empty dropdown for collections
This commit is contained in:
@@ -232,7 +232,8 @@ export default function TableSettingsDialog() {
|
||||
})),
|
||||
["section", "label"]
|
||||
),
|
||||
Array.isArray(collections) && collections.length !== 0
|
||||
Array.isArray(collections) &&
|
||||
collections.filter((x) => x !== CONFIG).length > 0
|
||||
? collections.filter((x) => x !== CONFIG)
|
||||
: null
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user