Fixed an issue where Schema Diff and Debugger give a blank white panel.

refs #6398
This commit is contained in:
Pradip Parkale
2021-07-06 18:56:21 +05:30
committed by Akshay Joshi
parent 48ca83f31d
commit 5d4c073730
2 changed files with 5 additions and 2 deletions

View File

@@ -614,6 +614,7 @@ define([
'frm_debugger', wcDocker.DOCK.STACKED, dashboardPanel[0]
),
db_label = newTreeInfo.database.label;
pgadminUtils.registerDetachEvent(panel);
if(data && data.data_obj && data.data_obj.db_name != newTreeInfo.database.label) {
db_label = data.data_obj.db_name;