feat(H&R): user can remove warning with score number, admin and oper can remove warning too.

This commit is contained in:
OldHawk
2017-09-12 17:07:12 +08:00
parent 125eb89325
commit 19328c205c
14 changed files with 306 additions and 10 deletions

View File

@@ -42,6 +42,13 @@
vm.getInvitationsCount();
});
/**
* user-hnr-warnings-changed
*/
$scope.$on('user-hnr-warnings-changed', function (event, args) {
vm.getWarning();
});
/**
* user-unread-count-changed
*/