Remove unnecessary API calls when showing or hiding columns

This commit is contained in:
Andrew Kingston 2024-09-04 09:32:14 +01:00
parent c8660da7d0
commit 857122f99e
No known key found for this signature in database
1 changed files with 0 additions and 3 deletions

View File

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