From 59ec89bd2a6d80f6c8979fe4c1fc4931765e42af Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Mon, 9 May 2016 15:41:50 -0500 Subject: [PATCH] Test Fix for POCONSOLE-34 of tags not clearing data correctl --- www/assets/js/ng/controller_tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/assets/js/ng/controller_tags.js b/www/assets/js/ng/controller_tags.js index c7d3dd0..42ab2ee 100644 --- a/www/assets/js/ng/controller_tags.js +++ b/www/assets/js/ng/controller_tags.js @@ -49,7 +49,7 @@ poconsole.controller('tagsCtrl', function($scope, $route, $http, $routeParams, P var getTag = tags.getTag(id); getTag.then(function(data){ $scope.error = false; - $scope.dTagValues = data.tag; + $scope.dTagValues = data.tag[0]; $log.info("Thinking about deleting tag data with parameters: "+ JSON.stringify($scope.dTagValues)); }); };