diff --git a/src/components/ModulePanel.vue b/src/components/ModulePanel.vue index 8573f4659..064b70231 100644 --- a/src/components/ModulePanel.vue +++ b/src/components/ModulePanel.vue @@ -57,12 +57,15 @@ export const Modules = [ icon: 'cube', component: RenderingModule, }, - { +]; + +if (process.env.VUE_APP_REMOTE_SERVER_URL) { + Modules.push({ name: 'Remote Functions', icon: 'server-network', component: ServerModule, - }, -]; + }); +} export default defineComponent({ name: 'ModulePanel',