mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Check for app loading instead of daily count (#8856)
This commit is contained in:
committed by
Sabe Jones
parent
30437e158e
commit
b3f9fd09c6
@@ -22,7 +22,7 @@ habitrpg.controller('NotificationCtrl',
|
|||||||
if (!User.user.needsCron) return;
|
if (!User.user.needsCron) return;
|
||||||
var dailys = User.user.dailys;
|
var dailys = User.user.dailys;
|
||||||
|
|
||||||
if (!Boolean(dailys) || dailys.length === 0) return;
|
if (!$rootScope.appLoaded) return;
|
||||||
|
|
||||||
isRunningYesterdailies = true;
|
isRunningYesterdailies = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user