lint fixes
This commit is contained in:
parent
2e13c5f10e
commit
1c29edb830
|
@ -106,8 +106,11 @@ export function createTablesStore() {
|
|||
if (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)
|
||||
return state
|
||||
})
|
||||
|
|
|
@ -36,8 +36,8 @@ export function createViewsStore() {
|
|||
if (view.originalName) delete viewTable.views[view.originalName]
|
||||
viewTable.views[view.name] = viewMeta
|
||||
await tables.save(viewTable)
|
||||
|
||||
update(state => ({...state, selected: viewMeta}))
|
||||
|
||||
update(state => ({ ...state, selected: viewMeta }))
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue