Remove console.log statement
This commit is contained in:
parent
b4a5714e59
commit
9b11067faf
|
@ -13,9 +13,10 @@
|
||||||
export let onClosed
|
export let onClosed
|
||||||
|
|
||||||
let errors = []
|
let errors = []
|
||||||
$: model = record.modelId ? $backendUiStore.models.find(model => model._id === record?.modelId) : $backendUiStore.selectedModel
|
$: model = record.modelId
|
||||||
|
? $backendUiStore.models.find(model => model._id === record?.modelId)
|
||||||
|
: $backendUiStore.selectedModel
|
||||||
$: modelSchema = Object.entries(model?.schema ?? {})
|
$: modelSchema = Object.entries(model?.schema ?? {})
|
||||||
$: console.log(modelSchema)
|
|
||||||
|
|
||||||
async function saveRecord() {
|
async function saveRecord() {
|
||||||
const recordResponse = await api.saveRecord(
|
const recordResponse = await api.saveRecord(
|
||||||
|
|
Loading…
Reference in New Issue