finally fixing cypress tests
This commit is contained in:
parent
db01275483
commit
5f3336531f
|
@ -20,7 +20,7 @@
|
|||
|
||||
export let view = {}
|
||||
|
||||
$: viewTable = $tables.list.find(({ _id }) => _id === $views.selected.tableId)
|
||||
$: viewTable = $tables.list.find(({ _id }) => _id === $views.selected?.tableId)
|
||||
$: fields =
|
||||
viewTable &&
|
||||
Object.keys(viewTable.schema).filter(
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
export let view = {}
|
||||
|
||||
$: viewTable = $tables.list.find(({ _id }) => _id === $views.selected.tableId)
|
||||
$: viewTable = $tables.list.find(({ _id }) => _id === $views.selected?.tableId)
|
||||
$: fields = viewTable && Object.keys(viewTable.schema)
|
||||
|
||||
function saveView() {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
export let view = {}
|
||||
|
||||
$: viewTable = $tables.list.find(({ _id }) => _id === $views.selected.tableId)
|
||||
$: viewTable = $tables.list.find(({ _id }) => _id === $views.selected?.tableId)
|
||||
$: fields =
|
||||
viewTable &&
|
||||
Object.entries(viewTable.schema)
|
||||
|
|
Loading…
Reference in New Issue