tidy up
This commit is contained in:
parent
6ef4ba086c
commit
63fc10e1e0
|
@ -22,18 +22,6 @@
|
||||||
field.constraints &&
|
field.constraints &&
|
||||||
field.constraints.presence &&
|
field.constraints.presence &&
|
||||||
!constraints.presence.allowEmpty
|
!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>
|
</script>
|
||||||
|
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
const CouchDB = require("../../db")
|
const CouchDB = require("../../db")
|
||||||
const newid = require("../../db/newid")
|
const newid = require("../../db/newid")
|
||||||
const { rename } = require("fs-extra")
|
|
||||||
|
|
||||||
exports.fetch = async function(ctx) {
|
exports.fetch = async function(ctx) {
|
||||||
const db = new CouchDB(ctx.user.instanceId)
|
const db = new CouchDB(ctx.user.instanceId)
|
||||||
|
|
Loading…
Reference in New Issue