diff --git a/src/public/main.js b/src/public/main.js
index e29766efe4..c803d953a6 100644
--- a/src/public/main.js
+++ b/src/public/main.js
@@ -146,8 +146,6 @@ require('./modules/core/controllers/edit-contact-number-modal.client.controller'
// Core directives
require('./modules/core/directives/on-click-outside.client.directive')
require('./modules/core/directives/route-loading-indicator.client.directive.js')
-require('./modules/core/services/features.client.factory.js')
-require('./modules/core/directives/feature-toggle.client.directive.js')
// Core config
require('./modules/core/config/core.client.routes.js')
diff --git a/src/public/modules/core/componentViews/avatar-dropdown.html b/src/public/modules/core/componentViews/avatar-dropdown.html
index 37e3c975fd..1571c9c1dc 100644
--- a/src/public/modules/core/componentViews/avatar-dropdown.html
+++ b/src/public/modules/core/componentViews/avatar-dropdown.html
@@ -27,11 +27,7 @@
-
+
Billing
diff --git a/src/public/modules/core/components/avatar-dropdown.client.component.js b/src/public/modules/core/components/avatar-dropdown.client.component.js
index f04e80fd55..d37ff2ed84 100644
--- a/src/public/modules/core/components/avatar-dropdown.client.component.js
+++ b/src/public/modules/core/components/avatar-dropdown.client.component.js
@@ -9,7 +9,6 @@ angular.module('core').component('avatarDropdownComponent', {
'$uibModal',
'$window',
'Auth',
- 'Features',
'Toastr',
avatarDropdownController,
],
@@ -22,7 +21,6 @@ function avatarDropdownController(
$uibModal,
$window,
Auth,
- Features,
Toastr,
) {
const vm = this
@@ -50,13 +48,8 @@ function avatarDropdownController(
// Early return if user already has contact information.
if (trueUser.contact) return
- const features = await Features.getFeatureStates()
-
// Only show exclamation mark in avatar if sms feature is enabled.
- vm.showExclamation = features.sms && !vm.user.contact
-
- // Do not proceed if sms feature is not available.
- if (!features.sms) return
+ vm.showExclamation = !vm.user.contact
// If retrieved user does not have contact, prompt user to add one.
// If user has the key in the browser's storage the modal will not be
diff --git a/src/public/modules/core/directives/feature-toggle.client.directive.js b/src/public/modules/core/directives/feature-toggle.client.directive.js
deleted file mode 100644
index d6251650b4..0000000000
--- a/src/public/modules/core/directives/feature-toggle.client.directive.js
+++ /dev/null
@@ -1,19 +0,0 @@
-'use strict'
-
-angular.module('core').directive('featureToggle', ['Features', featureToggle])
-
-function featureToggle(Features) {
- return {
- restrict: 'A',
- link: function (scope, element, attrs) {
- Features.getFeatureStates()
- .then(function (response) {
- element.css('display', response[attrs.featureName] ? '' : 'none')
- scope.feature = response
- })
- .catch((_err) => {
- element.css('display', 'none')
- })
- },
- }
-}
diff --git a/src/public/modules/core/services/features.client.factory.js b/src/public/modules/core/services/features.client.factory.js
deleted file mode 100644
index 867590021a..0000000000
--- a/src/public/modules/core/services/features.client.factory.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict'
-
-angular.module('core').factory('Features', ['$resource', featureFactory])
-
-function featureFactory($resource) {
- const service = {
- states: '',
- getFeatureStates: async () => {
- if (this.states) {
- return this.states
- } else {
- this.states = await $resource('/api/v3/client/features').get().$promise
- return this.states
- }
- },
- }
- return service
-}
diff --git a/src/public/modules/core/views/landing.client.view.html b/src/public/modules/core/views/landing.client.view.html
index 0852a6323e..78a19101d3 100644
--- a/src/public/modules/core/views/landing.client.view.html
+++ b/src/public/modules/core/views/landing.client.view.html
@@ -227,7 +227,7 @@
/>
-
+
+
OTP verification
diff --git a/src/public/modules/forms/admin/directiveViews/edit-form.client.view.html b/src/public/modules/forms/admin/directiveViews/edit-form.client.view.html
index 16a3bb35a9..1ee73722e3 100644
--- a/src/public/modules/forms/admin/directiveViews/edit-form.client.view.html
+++ b/src/public/modules/forms/admin/directiveViews/edit-form.client.view.html
@@ -34,7 +34,7 @@
-
+
MyInfo
-
+