mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-05 19:38:03 +02:00
dbg(home): add debug message of home
This commit is contained in:
@@ -270,6 +270,7 @@
|
||||
*/
|
||||
vm.getHomeHelp = function () {
|
||||
TopicsService.getHomeHelp(function (topics) {
|
||||
mtDebug.info(topics);
|
||||
vm.homeHelpTopics = topics;
|
||||
});
|
||||
};
|
||||
@@ -279,6 +280,7 @@
|
||||
*/
|
||||
vm.getHomeNotice = function () {
|
||||
TopicsService.getHomeNotice(function (topics) {
|
||||
mtDebug.info(topics);
|
||||
vm.homeNoticeTopics = topics;
|
||||
});
|
||||
};
|
||||
@@ -288,6 +290,7 @@
|
||||
*/
|
||||
vm.getForumNewTopic = function () {
|
||||
TopicsService.getHomeNewTopic(function (topics) {
|
||||
mtDebug.info(topics);
|
||||
vm.homeNewTopics = topics;
|
||||
});
|
||||
};
|
||||
@@ -303,6 +306,7 @@
|
||||
newest: true,
|
||||
limit: vm.itemsPerPageConfig.homeNewestTorrentsListLimit
|
||||
}, function (items) {
|
||||
mtDebug.info(items);
|
||||
if (items.rows.length > 0) {
|
||||
vm.homeNewestTorrents = items.rows;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user