1
0
Fork 0
mirror of synced 2024-09-28 15:21:28 +12:00

lint fixes

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-01 12:55:09 +02:00
parent dd5959eb0c
commit 66cd1c6c04
2 changed files with 7 additions and 4 deletions

View file

@ -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
})

View file

@ -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 }))
},
}
}