From 08f97822908f711866d7ebcdeea9b26dd515f3b3 Mon Sep 17 00:00:00 2001 From: Leigh Johnson Date: Thu, 21 Apr 2016 10:15:10 -0400 Subject: [PATCH] catch undefined basePath config #1626 --- awx/ui/client/src/search/tagSearch.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/search/tagSearch.service.js b/awx/ui/client/src/search/tagSearch.service.js index 0e7f5974f3..7b53d28c8c 100644 --- a/awx/ui/client/src/search/tagSearch.service.js +++ b/awx/ui/client/src/search/tagSearch.service.js @@ -99,7 +99,7 @@ export default ['Rest', '$q', 'GetBasePath', 'Wait', 'ProcessErrors', '$log', fu }); } catch(err){ - if (basePath === ''){ + if (!basePath){ $log.error('Cannot retrieve OPTIONS because the basePath parameter is not set on the list with the following fieldset: \n', list); } else { $log.error(err); }