Check for app loading instead of daily count (#8856)

This commit is contained in:
Keith Holliday
2017-07-07 13:35:26 -06:00
committed by Sabe Jones
parent 30437e158e
commit b3f9fd09c6

View File

@@ -22,7 +22,7 @@ habitrpg.controller('NotificationCtrl',
if (!User.user.needsCron) return;
var dailys = User.user.dailys;
if (!Boolean(dailys) || dailys.length === 0) return;
if (!$rootScope.appLoaded) return;
isRunningYesterdailies = true;