Remove console.log statement

This commit is contained in:
Andrew Kingston 2020-10-01 11:33:40 +01:00
parent b4a5714e59
commit 9b11067faf
1 changed files with 3 additions and 2 deletions

View File

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