POCONSOLE-57 needed a few changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
poconsole.controller('configCtrl', function($scope, Page, $log, config, devices) {
|
||||
poconsole.controller('configCtrl', function($scope, Page, $log, config, devices, tags) {
|
||||
Page.setTitle('Configuration');
|
||||
Page.setPage('configuration');
|
||||
|
||||
@@ -91,7 +91,7 @@ poconsole.controller('configCtrl', function($scope, Page, $log, config, devices)
|
||||
});
|
||||
|
||||
$scope.deleteAllTagData = function(){
|
||||
var deleteAllTags = tags.deleteAll();
|
||||
var deleteAllTags = tags.clearAllTagData();
|
||||
deleteAllTags.then(function(data){
|
||||
$log.info(data);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user