Ensure that the Server List on the Welcome page is refreshed only when there are changes in the Object Explorer.

pull/8395/head
Akshay Joshi 2025-01-23 14:51:39 +05:30
parent 5ee0328063
commit 684818def1
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ class AdHocConnectionSchema extends BaseUISchema {
optionsLoaded: (res) => self.flatServers = flattenSelectOptions(res),
optionsReloadBasis: `${self.flatServers.map((s) => s.connected).join('')}${state.connection_refresh}`,
}),
depChange: (state)=>{
depChange: (state, source)=>{
if(source == 'connection_refresh') return;
/* Once the option is selected get the name */
/* Force sid to null, and set only if connected */
let selectedServer = _.find(