From 5272293a3159d380572fff36b85df6d26eb8d7fd Mon Sep 17 00:00:00 2001 From: Amalka Subasinghe Date: Tue, 31 Aug 2021 13:17:29 +0530 Subject: [PATCH] mdm config tags made configurable --- .../templates/repository/conf/mdm-ui-config.xml.j2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 index 68742071a6..ae1c8f4e6e 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 +++ b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 @@ -37,14 +37,15 @@ - application_management - device_management - subscription_management - review_management {% if mdm_ui_conf.app_registration.tags is defined %} {%- for tag in mdm_ui_conf.app_registration.tags -%} {{tag}} {% endfor %} + {% else %} + application_management + device_management + subscription_management + review_management {% endif %} {% if mdm_ui_conf.app_registration.allow_to_all_domains is defined %}