finally fixing cypress tests

This commit is contained in:
Martin McKeaveney 2021-06-21 13:55:34 +01:00
parent db01275483
commit 5f3336531f
3 changed files with 3 additions and 3 deletions

View File

@ -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(

View File

@ -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() {

View File

@ -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)