-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set schema dropdown if a table is selected #28560
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
5 Skipped Deployments
|
No changes detected in Branching Preview Branches by Supabase. |
@@ -90,17 91,28 @@ const TableEditorMenu = () => { | |||
const schema = schemas?.find((schema) => schema.name === snap.selectedSchemaName) | |||
const canCreateTables = useCheckPermissions(PermissionAction.TENANT_SQL_ADMIN_WRITE, 'tables') | |||
|
|||
const refreshTables = async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like it's been unused for a while
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested as described
Sets the right selectedSchema in the dropdown if we go directly to a table
To reproduce:
public
is set as the selected schema again