Skip to content

Commit

Permalink
fix(db-analyzer): In resource api, use makeParams
Browse files Browse the repository at this point in the history
Ticket - 31025
  • Loading branch information
tanmoysrt committed Feb 14, 2025
1 parent b98fb73 commit 054fb71
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dashboard/src2/pages/devtools/database/DatabaseAnalyzer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,13 @@ export default {
url: 'press.api.client.run_doc_method',
initialData: {},
auto: false,
makeParams: () => {
return {
dt: 'Site',
dn: this.site,
method: 'fetch_database_table_schema',
};
},
onSuccess: (data) => {
if (data?.message?.loading) {
setTimeout(this.fetchTableSchemas, 5000);
Expand Down

0 comments on commit 054fb71

Please sign in to comment.