Added more logs
This commit is contained in:
parent
6afe821861
commit
e9c6c3fc55
1 changed files with 2 additions and 1 deletions
|
|
@ -62,6 +62,7 @@ class _FireNotificationListState extends State<FireNotificationList> {
|
|||
String prefix = "";
|
||||
|
||||
if (notif.subsId != null) {
|
||||
// FIXME (this can fails if you don't have a location for this notif, for instance during tests)
|
||||
YourLocation yl =
|
||||
yourLocations.singleWhere((yl) => yl.id == notif.subsId);
|
||||
prefix = '${yl.description}. ';
|
||||
|
|
@ -143,7 +144,7 @@ class _FireNotificationListState extends State<FireNotificationList> {
|
|||
return new StoreConnector<AppState, _ViewModel>(
|
||||
distinct: true,
|
||||
converter: (store) {
|
||||
print('New ViewModel of Fires Notifications');
|
||||
print('New ViewModel of Fires Notifications (unread: ${store.state.fireNotificationsUnread})');
|
||||
return new _ViewModel(
|
||||
onDeleteAll: () {
|
||||
store.dispatch(new DeleteAllFireNotificationAction());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue