mirror of
https://github.com/supabase/supabase.git
synced 2026-06-02 10:55:11 +08:00
Chore/user management v2 panel part 2 (#29515)
* Set up banning and unbanning user, although untested due to API CORs issue * Update search filter UI for users management V2 * Update API types * Minoir * Small fix * Update UI * Add support for resizing and re-ordering columns * Add google profile image url to csp * Revert test button * Implement toggling of columns * Fix loading * Fully implement banning/unbanning user * Fix * Update apps/studio/components/interfaces/Auth/Users/UserOverview.tsx Co-authored-by: Alaister Young <alaister@users.noreply.github.com> * Fallback non CSP supported avatar urls to user icon * Fix some bugs * Remove prism-react-renderer from studio, add to ui patterns * Migrate users query from API to studio * Address some feedback --------- Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
This commit is contained in:
@@ -129,12 +129,3 @@ export const useExecuteSqlQuery = <TData = ExecuteSqlData>(
|
||||
),
|
||||
{ enabled: enabled && typeof projectRef !== 'undefined', staleTime: 0, ...options }
|
||||
)
|
||||
|
||||
export const prefetchExecuteSql = (
|
||||
client: QueryClient,
|
||||
{ projectRef, connectionString, sql, queryKey, handleError }: ExecuteSqlVariables
|
||||
) => {
|
||||
return client.prefetchQuery(sqlKeys.query(projectRef, queryKey ?? [btoa(sql)]), ({ signal }) =>
|
||||
executeSql({ projectRef, connectionString, sql, queryKey, handleError }, signal)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user