lint fixes
This commit is contained in:
parent
dd5959eb0c
commit
66cd1c6c04
|
@ -107,7 +107,10 @@ export function createTablesStore() {
|
||||||
state.draft.indexes = indexes
|
state.draft.indexes = indexes
|
||||||
}
|
}
|
||||||
|
|
||||||
state.draft.schema = {...state.draft.schema, [field.name]: cloneDeep(field)}
|
state.draft.schema = {
|
||||||
|
...state.draft.schema,
|
||||||
|
[field.name]: cloneDeep(field),
|
||||||
|
}
|
||||||
save(state.draft)
|
save(state.draft)
|
||||||
return state
|
return state
|
||||||
})
|
})
|
||||||
|
|
|
@ -37,7 +37,7 @@ export function createViewsStore() {
|
||||||
viewTable.views[view.name] = viewMeta
|
viewTable.views[view.name] = viewMeta
|
||||||
await tables.save(viewTable)
|
await tables.save(viewTable)
|
||||||
|
|
||||||
update(state => ({...state, selected: viewMeta}))
|
update(state => ({ ...state, selected: viewMeta }))
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue