This commit is contained in:
Martin McKeaveney 2020-06-25 22:35:52 +01:00
parent 28b951e993
commit 5b1b6382c6
2 changed files with 0 additions and 13 deletions

View File

@ -22,18 +22,6 @@
field.constraints &&
field.constraints.presence &&
!constraints.presence.allowEmpty
// function attachModelIdToSchema(evt) {
// const { draftModel } = $backendUiStore
// if ($backendUiStore.selectedField !== evt.target.value) {
// delete draftModel.schema[$backendUiStore.selectedField]
// draftModel.schema[evt.target.value] = field
// backendUiStore.update(state => {
// state.selectedField = evt.target.value
// return state
// })
// }
// }
</script>
<div class="info">

View File

@ -1,6 +1,5 @@
const CouchDB = require("../../db")
const newid = require("../../db/newid")
const { rename } = require("fs-extra")
exports.fetch = async function(ctx) {
const db = new CouchDB(ctx.user.instanceId)