Skip to content

Commit

Permalink
fix Notification HasRead
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed Jul 23, 2022
1 parent 56bc907 commit 2e136e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ST.Client/Services/Mvvm/NotificationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ public async Task<List<NoticeDTO>> LoadHasReadRecord(List<NoticeDTO> notices)
var d = data.FirstOrDefault(f => f.Id == notice.Id);
if (d != null)
notice.HasRead = d.HasRead;
else
notice.HasRead = true;
}
}
return notices;
Expand Down

0 comments on commit 2e136e5

Please sign in to comment.