mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
fix: table editor showing empty cells after renaming column
This commit is contained in:
1 parent
099cf91925
commit
60c7d7a42e
1 file changed
+6
-1
@@ -263,8 +263,13 @@ const SidePanelEditor = ({
|
||||
if (response?.error) {
|
||||
ui.setNotification({ category: 'error', message: response.error.message })
|
||||
} else {
|
||||
await meta.tables.loadById(selectedTable!.id)
|
||||
queryClient.invalidateQueries(sqlKeys.query(project?.ref, ['foreign-key-constraints']))
|
||||
await Promise.all([
|
||||
meta.tables.loadById(selectedTable!.id),
|
||||
queryClient.invalidateQueries(
|
||||
sqlKeys.query(project?.ref, [selectedTable!.schema, selectedTable!.name])
|
||||
),
|
||||
])
|
||||
onColumnSaved(configuration.isEncrypted)
|
||||
setIsEdited(false)
|
||||
closePanel()
|
||||
|
||||
Reference in new issue
Block a user