mirror of
https://github.com/zoriya/flood.git
synced 2026-06-01 18:47:44 +00:00
Add server-side notifications
This commit is contained in:
@@ -200,7 +200,11 @@ var client = {
|
||||
tagCount = torrentCollection.getTagCount();
|
||||
trackerCount = torrentCollection.getTrackerCount();
|
||||
|
||||
NotificationCollection.addNotification({id: 'torrent-list-update', message: 'Torrent List Updated'});
|
||||
NotificationCollection.addNotification({
|
||||
heading: 'Updated Data',
|
||||
id: 'torrent-list-update',
|
||||
message: 'Torrent List Updated'
|
||||
});
|
||||
|
||||
return torrentCollection.getTorrents();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user