From 0742ffe86720aabfc5f7197bc7cd8a012b60c892 Mon Sep 17 00:00:00 2001
From: Carlo Venusino <cvenusino@sipwise.com>
Date: Mon, 31 May 2021 16:26:50 +0200
Subject: [PATCH] TT#124269 SubscriberProfiles - Integrate clir

Change-Id: I70b53338a2d3ad3b44a9df004d8d904d8c1a6c15
---
 src/pages/CscPageCallBlockingPrivacy.vue | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/pages/CscPageCallBlockingPrivacy.vue b/src/pages/CscPageCallBlockingPrivacy.vue
index d999f47a..5ea452d1 100644
--- a/src/pages/CscPageCallBlockingPrivacy.vue
+++ b/src/pages/CscPageCallBlockingPrivacy.vue
@@ -6,7 +6,9 @@
         <q-list
             class="col col-xs-12 col-md-4"
         >
-            <q-item>
+            <q-item
+                v-if="hasSubscriberProfileAttribute('clir')"
+            >
                 <q-item-section>
                     <q-toggle
                         :label="privacyLabel"
@@ -74,6 +76,9 @@ export default {
             'privacyUpdated',
             'privacyLoadingState',
             'privacyLoading'
+        ]),
+        ...mapGetters('user', [
+            'hasSubscriberProfileAttribute'
         ])
     },
     watch: {