From 0be5c188816dd8088d0300e00675a0ba89d0eec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Jim=C3=A9nez?= Date: Fri, 23 Mar 2018 12:42:42 +0100 Subject: [PATCH] Fixed missing pointer and replaced delete API message --- public/controllers/settings.js | 2 +- public/directives/wz-menu/wz-menu.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/controllers/settings.js b/public/controllers/settings.js index 93dfdf925..61d015664 100644 --- a/public/controllers/settings.js +++ b/public/controllers/settings.js @@ -62,7 +62,7 @@ app.controller('settingsController', function ($scope, $rootScope, $http, $route let index = $scope.apiEntries.indexOf(item); if (appState.getCurrentAPI() !== undefined && appState.getCurrentAPI() !== null) { if ($scope.apiEntries[index]._id === JSON.parse(appState.getCurrentAPI()).id) { // We are trying to remove the one selected as default - errorHandler.handle('Please remove another API.','Settings',true); + errorHandler.handle("Can't delete the currently selected API. Please, select another API as default before deleting this one.",'Settings',true); if(!$rootScope.$$phase) $rootScope.$digest(); return; } diff --git a/public/directives/wz-menu/wz-menu.less b/public/directives/wz-menu/wz-menu.less index 30085c76e..87193f440 100644 --- a/public/directives/wz-menu/wz-menu.less +++ b/public/directives/wz-menu/wz-menu.less @@ -32,6 +32,7 @@ .wz-menu-select { border: none; color: white; + cursor: pointer; background-color: rgb(0, 68, 90); }