From dae4893fe1f6d2d0ad5be102666f2af60f58337f Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Tue, 20 Jun 2017 13:18:08 +0200 Subject: [PATCH] feat(endpoint): remove the active endpoint edition restriction (#941) --- app/components/endpoint/endpoint.html | 2 +- app/components/endpoints/endpoints.html | 7 +------ app/components/endpoints/endpointsController.js | 1 - 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/components/endpoint/endpoint.html b/app/components/endpoint/endpoint.html index b5d95a714..543bc7062 100644 --- a/app/components/endpoint/endpoint.html +++ b/app/components/endpoint/endpoint.html @@ -38,7 +38,7 @@
- +
diff --git a/app/components/endpoints/endpoints.html b/app/components/endpoints/endpoints.html index 52755893a..fd6660b66 100644 --- a/app/components/endpoints/endpoints.html +++ b/app/components/endpoints/endpoints.html @@ -183,12 +183,7 @@ {{ endpoint.URL | stripprotocol }} - - Edit - - - You cannot edit the active endpoint - + Edit Manage access diff --git a/app/components/endpoints/endpointsController.js b/app/components/endpoints/endpointsController.js index 3e11a2f49..c7b488b3c 100644 --- a/app/components/endpoints/endpointsController.js +++ b/app/components/endpoints/endpointsController.js @@ -101,7 +101,6 @@ function ($scope, $state, EndpointService, EndpointProvider, Notifications, Pagi EndpointService.endpoints() .then(function success(data) { $scope.endpoints = data; - $scope.activeEndpointID = EndpointProvider.endpointID(); }) .catch(function error(err) { Notifications.error('Failure', err, 'Unable to retrieve endpoints');