mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
remove console.log
This commit is contained in:
@@ -35,7 +35,7 @@ habitrpg.controller("FiltersCtrl", ['$scope', '$rootScope', 'User', 'API_URL', '
|
|||||||
user.tags.splice($index,1);
|
user.tags.splice($index,1);
|
||||||
// remove tag from all tasks
|
// remove tag from all tasks
|
||||||
_.each(user.tasks, function(task) {
|
_.each(user.tasks, function(task) {
|
||||||
delete user.tasks[task.id].tags[tag.id];
|
delete task.tags[tag.id];
|
||||||
});
|
});
|
||||||
$http['delete'](API_URL + '/api/v1/user/tags/' + tag.id)
|
$http['delete'](API_URL + '/api/v1/user/tags/' + tag.id)
|
||||||
.error(function(data){
|
.error(function(data){
|
||||||
|
|||||||
Reference in New Issue
Block a user