Skip to content

Commit dbfc59a

Browse files
committed
Show effectsconfigurator menu entry, only if effectengine is available
1 parent e316699 commit dbfc59a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

assets/webconfig/js/ui_utils.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,12 @@ function updateUiOnInstance(inst) {
255255

256256
// Show menue items according to instance's running state
257257
if (isInstanceRunning(window.currentHyperionInstance)) {
258-
$("#MenuItemRemoteControl, #MenuItemEffectsConfig, #NavMenuWizards, #btn_open_ledsim").show();
258+
$("#MenuItemRemoteControl, #NavMenuWizards, #btn_open_ledsim").show();
259+
260+
//Show effectsconfigurator menu entry, only if effectengine is available
261+
if (jQuery.inArray("effectengine", window.serverInfo.services) !== -1) {
262+
$("#MenuItemEffectsConfig").show();
263+
}
259264

260265
const isMediaStreamingSupported = getStorage('mediaStreamingSupported');
261266
if (isMediaStreamingSupported) {

0 commit comments

Comments
 (0)