From bf27084209f597392174feebdcfd9cae81670c57 Mon Sep 17 00:00:00 2001 From: smileydev <47900232+prosdev0107@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:52:33 -0400 Subject: [PATCH] fix(allow-db-explore): make to check the allow virtual table explore option by default (#19883) * fix(db & explore): make to check the allow-db-explore option by default * fix(db-explore): make to remove console.log --- .../src/views/CRUD/data/database/DatabaseModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx index a6e93f8653271..12334a1b090a1 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -184,7 +184,7 @@ function dbReducer( }; let query = {}; let query_input = ''; - let deserializeExtraJSON = {}; + let deserializeExtraJSON = { allows_virtual_table_explore: true }; let extra_json: DatabaseObject['extra_json']; switch (action.type) {