Remove unnecessary API calls when showing or hiding columns
This commit is contained in:
parent
c8660da7d0
commit
857122f99e
|
@ -160,9 +160,6 @@
|
||||||
await datasource.actions.saveSchemaMutations()
|
await datasource.actions.saveSchemaMutations()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
notifications.error(e.message)
|
notifications.error(e.message)
|
||||||
} finally {
|
|
||||||
await datasource.actions.resetSchemaMutations()
|
|
||||||
await datasource.actions.refreshDefinition()
|
|
||||||
}
|
}
|
||||||
dispatch(visible ? "show-column" : "hide-column")
|
dispatch(visible ? "show-column" : "hide-column")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue