mirror of
https://github.com/apache/superset.git
synced 2026-04-22 17:45:21 +00:00
fix(viz-gallery): respect denylist in viz gallery (#22658)
This commit is contained in:
@@ -25,11 +25,9 @@ import * as chrono from 'chrono-node';
|
||||
import ModalTrigger, { ModalTriggerRef } from 'src/components/ModalTrigger';
|
||||
import { Form, FormItem } from 'src/components/Form';
|
||||
import Button from 'src/components/Button';
|
||||
import getBootstrapData from 'src/utils/getBootstrapData';
|
||||
|
||||
const appContainer = document.getElementById('app');
|
||||
const bootstrapData = JSON.parse(
|
||||
appContainer?.getAttribute('data-bootstrap') || '{}',
|
||||
);
|
||||
const bootstrapData = getBootstrapData();
|
||||
const scheduledQueriesConf = bootstrapData?.common?.conf?.SCHEDULED_QUERIES;
|
||||
|
||||
const validators = {
|
||||
|
||||
Reference in New Issue
Block a user