Ensure that the Server List on the Welcome page is refreshed only when there are changes in the Object Explorer.
parent
5ee0328063
commit
684818def1
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue