From a22b2b324d5777ab1bc1ee33e4fd1127281c6a93 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Wed, 28 Mar 2018 12:46:26 +0530 Subject: [PATCH] Hide 'Select All' option when there're only single mandatory claim. --- .../app/pages/cdmf.page.sign-in.consent-do/consent-do.hbs | 2 ++ .../app/pages/cdmf.page.sign-in.consent-do/consent-do.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.sign-in.consent-do/consent-do.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.sign-in.consent-do/consent-do.hbs index a14d591384..56f05e6956 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.sign-in.consent-do/consent-do.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.sign-in.consent-do/consent-do.hbs @@ -31,12 +31,14 @@

By selecting following attributes I agree to share them with the above service provider.

+ {{#unless singleMandatoryClaim}}
+ {{/unless}}
{{#each mandatoryClaims}}