1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

Remove console.log statement

This commit is contained in:
Andrew Kingston 2020-10-01 11:33:40 +01:00
parent b4a5714e59
commit 9b11067faf

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(