mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
Removed task get approvals request
This commit is contained in:
parent
e27512f626
commit
2fd35b3a40
1 changed files with 4 additions and 4 deletions
|
|
@ -2,10 +2,10 @@ habitrpg.controller('GroupApprovalsCtrl', ['$scope', 'Tasks',
|
|||
function ($scope, Tasks) {
|
||||
$scope.approvals = [];
|
||||
|
||||
Tasks.getGroupApprovals($scope.group._id)
|
||||
.then(function (response) {
|
||||
$scope.approvals = response.data.data;
|
||||
});
|
||||
// Tasks.getGroupApprovals($scope.group._id)
|
||||
// .then(function (response) {
|
||||
// $scope.approvals = response.data.data;
|
||||
// });
|
||||
|
||||
$scope.approve = function (taskId, userId, $index) {
|
||||
if (!confirm(env.t('confirmTaskApproval'))) return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue