- if (Configuration.getUIServer().enabled === true) {
- this.uiServer = UIServerFactory.getUIServerImplementation(
- Configuration.getUIServer().type,
- Configuration.getUIServer()
- );
- }
+ Configuration.getUIServer().enabled === true &&
+ (this.uiServer = UIServerFactory.getUIServerImplementation(Configuration.getUIServer()));