1
0
Fork 0
mirror of synced 2024-09-21 03:43:21 +12:00

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

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