mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-09-07 12:30:10 +02:00
feat(home): refresh new torrents and opened tickets status when torrent was reviewed or tickets was replied.
This commit is contained in:
@@ -154,6 +154,20 @@
|
||||
vm.getCountUnread();
|
||||
});
|
||||
|
||||
/**
|
||||
* new-torrents-changed
|
||||
*/
|
||||
$scope.$on('new-torrents-changed', function (event, args) {
|
||||
vm.getNewTorrentsCount();
|
||||
});
|
||||
|
||||
/**
|
||||
* opened-tickets-changed
|
||||
*/
|
||||
$scope.$on('opened-tickets-changed', function (event, args) {
|
||||
vm.getTicketsOpenedCount();
|
||||
});
|
||||
|
||||
/**
|
||||
* user-invitations-changed
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user