mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
perf(api): improve API info performance (#11346)
This commit is contained in:
committed by
GitHub
parent
6c5da18926
commit
85e28dd04c
@@ -57,7 +57,7 @@ export function useListViewResource<D extends object = any>(
|
||||
|
||||
useEffect(() => {
|
||||
SupersetClient.get({
|
||||
endpoint: `/api/v1/${resource}/_info`,
|
||||
endpoint: `/api/v1/${resource}/_info?q=(keys:!(permissions))`,
|
||||
}).then(
|
||||
({ json: infoJson = {} }) => {
|
||||
updateState({
|
||||
|
||||
Reference in New Issue
Block a user