1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00

Remove console.log statement

This commit is contained in:
Andrew Kingston 2020-10-01 11:33:40 +01:00
parent 708d127fef
commit 928ff8c0bf

View file

@ -13,9 +13,10 @@
export let onClosed
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 ?? {})
$: console.log(modelSchema)
async function saveRecord() {
const recordResponse = await api.saveRecord(