[CM/CQB] "View details " does not work but without popping up any prompt, when there is no database is selected in Query Editor.