Uncomment some code forgot
This commit is contained in:
@@ -55,13 +55,11 @@ public class PlatformSummaryGrain : Grain, IPlatformSummaryGrain, IRemindable
|
|||||||
|
|
||||||
_logger.LogInformation("Daily reminder scheduled - Next daily: {NextDaily}", nextDailyTime);
|
_logger.LogInformation("Daily reminder scheduled - Next daily: {NextDaily}", nextDailyTime);
|
||||||
|
|
||||||
|
// Initial data load if state is empty
|
||||||
|
if (_state.State.LastUpdated == default)
|
||||||
|
{
|
||||||
await RefreshDataAsync();
|
await RefreshDataAsync();
|
||||||
|
}
|
||||||
// // Initial data load if state is empty
|
|
||||||
// if (_state.State.LastUpdated == default)
|
|
||||||
// {
|
|
||||||
// await RefreshDataAsync();
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<PlatformSummaryViewModel> GetPlatformSummaryAsync()
|
public async Task<PlatformSummaryViewModel> GetPlatformSummaryAsync()
|
||||||
|
|||||||
Reference in New Issue
Block a user