Remove manual refresh of row after creation
This commit is contained in:
parent
adbdaf394a
commit
b4def3675a
|
@ -214,8 +214,7 @@ export const deriveStores = context => {
|
|||
const addRow = async (row, idx, bubble = false) => {
|
||||
try {
|
||||
// Create row
|
||||
let newRow = await API.saveRow({ ...row, tableId: get(tableId) })
|
||||
newRow = await fetchRow(newRow._id)
|
||||
const newRow = await API.saveRow({ ...row, tableId: get(tableId) })
|
||||
|
||||
// Update state
|
||||
if (idx != null) {
|
||||
|
|
Loading…
Reference in New Issue