Builtin ConverseJS mode: fix advanced controls hiding.
This commit is contained in:
		@ -10,6 +10,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
* Spanish translations (thanks [rnek0](https://github.com/rnek0)).
 | 
					* Spanish translations (thanks [rnek0](https://github.com/rnek0)).
 | 
				
			||||||
* Hide secret keys in diagnostic tool.
 | 
					* Hide secret keys in diagnostic tool.
 | 
				
			||||||
 | 
					* Builtin ConverseJS mode: fix advanced controls hiding.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## v5.0.2
 | 
					## v5.0.2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -81,7 +81,7 @@ interface InitConverseParams {
 | 
				
			|||||||
  boshServiceUrl: string
 | 
					  boshServiceUrl: string
 | 
				
			||||||
  websocketServiceUrl: string
 | 
					  websocketServiceUrl: string
 | 
				
			||||||
  authenticationUrl: string
 | 
					  authenticationUrl: string
 | 
				
			||||||
  advancedControls: 'true' | 'false'
 | 
					  advancedControls: boolean
 | 
				
			||||||
  theme: string
 | 
					  theme: string
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
window.initConverse = async function initConverse ({
 | 
					window.initConverse = async function initConverse ({
 | 
				
			||||||
 | 
				
			|||||||
@ -21,7 +21,7 @@
 | 
				
			|||||||
    boshServiceUrl: '{{BOSH_SERVICE_URL}}',
 | 
					    boshServiceUrl: '{{BOSH_SERVICE_URL}}',
 | 
				
			||||||
    websocketServiceUrl: '{{WS_SERVICE_URL}}',
 | 
					    websocketServiceUrl: '{{WS_SERVICE_URL}}',
 | 
				
			||||||
    authenticationUrl: '{{AUTHENTICATION_URL}}',
 | 
					    authenticationUrl: '{{AUTHENTICATION_URL}}',
 | 
				
			||||||
    advancedControls: '{{ADVANCEDCONTROLS}}',
 | 
					    advancedControls: '{{ADVANCEDCONTROLS}}' === 'true',
 | 
				
			||||||
    theme: '{{CONVERSEJS_THEME}}'
 | 
					    theme: '{{CONVERSEJS_THEME}}'
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user