perf(api): improve API info performance (#11346)

This commit is contained in:
Daniel Vaz Gaspar
2020-10-22 08:55:13 +01:00
committed by GitHub
parent 6c5da18926
commit 85e28dd04c

View File

@@ -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({