Mark Stacey
3044aa0ebe
Fix account selectors when balances are missing ( #20385 )
...
* Fix account selectors when balances are missing
Some of the account selectors we use would return an empty set of
accounts if the `AccountTracker` state was missing. This resulted in UI
crashes when trying to access the current selected account.
The selectors have been updated to use the `identities` as the source-
of-truth for the full set of accounts. This ensures that even if the
balances are missing, each account will at least be represented by an
empty object.
* Fix unit test
* Fix another unit test
* Fix another unit test
* Fix another unit test
* Fix more unit tests
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-26 00:28:24 -02:30
..
2023-05-24 13:41:21 +02:00
2023-06-29 09:24:08 -04:00
2023-07-24 11:15:33 -07:00
2023-08-03 12:22:35 -07:00
2023-05-09 23:04:58 +05:30
2023-05-09 23:04:58 +05:30
2023-07-24 13:59:45 -05:00
2023-06-27 12:05:31 +05:30
2023-08-03 12:23:47 -07:00
2023-06-20 13:44:54 -07:00
2023-07-28 14:03:27 -07:00
2023-07-19 15:32:35 -07:00
2023-07-19 15:32:35 -07:00
2023-08-03 12:31:35 -05:00
2023-07-19 15:32:35 -07:00
2023-08-21 12:03:55 +02:00
2023-07-19 15:32:35 -07:00
2023-07-19 15:32:35 -07:00
2023-08-15 14:57:34 -07:00
2023-08-01 14:17:19 -07:00
2023-07-12 23:17:15 +05:30
2023-06-19 23:29:52 +05:30
2023-07-19 15:32:35 -07:00
2023-07-21 15:14:26 -07:00
2023-07-25 14:32:21 -05:00
2023-07-12 14:32:46 -04:00
2023-08-04 14:00:05 -07:00
2023-08-18 09:54:50 -07:00
2023-08-01 14:21:42 -07:00
2023-07-19 15:32:35 -07:00
2023-08-26 00:28:24 -02:30
2023-08-26 00:28:24 -02:30
2023-06-15 10:52:08 -05:00
2023-06-30 14:11:29 -07:00
2023-05-09 23:04:58 +05:30
2023-08-14 11:08:59 -05:00
2023-08-24 11:27:42 +01:00
2023-08-18 14:52:40 -07:00
2023-07-19 15:32:35 -07:00
2023-07-12 09:29:54 +01:00
2023-05-18 11:07:42 +09:00
2023-06-14 09:47:16 -07:00
2023-08-24 17:35:26 -04:00
2023-07-25 14:32:21 -05:00
2023-07-19 15:32:35 -07:00
2023-06-15 09:08:07 -02:30
2023-08-01 23:51:51 +05:30
2023-08-04 13:28:34 -05:00
2023-07-11 09:11:31 -05:00
2023-08-02 18:46:36 -04:00
2023-08-14 09:52:52 -05:00
2023-08-02 18:46:36 -04:00
2023-07-19 15:32:35 -07:00
2023-07-06 22:54:27 +02:00
2023-07-06 22:54:27 +02:00
2023-07-19 15:08:06 +05:30
2023-07-19 15:32:35 -07:00
2023-08-18 14:52:40 -07:00
2023-07-19 15:32:35 -07:00
2023-07-25 09:05:37 -07:00
2023-07-19 15:32:35 -07:00
2023-08-23 13:58:58 +02:00
2023-07-19 15:32:35 -07:00
2023-08-03 16:24:54 +05:30
2023-08-03 16:24:54 +05:30
2023-08-14 16:07:45 -07:00
2023-08-04 08:42:28 -07:00
2023-07-19 15:32:35 -07:00
2023-07-24 18:51:29 +05:30
2023-07-19 15:32:35 -07:00
2023-08-02 15:07:12 +05:30
2023-08-03 09:20:34 -05:00
2023-07-25 09:05:37 -07:00
2023-08-24 11:27:42 +01:00
2023-06-15 20:17:21 +02:00
2023-07-24 13:38:17 -07:00
2023-05-09 23:04:58 +05:30
2023-07-24 21:09:56 -07:00
2023-07-17 13:48:15 -04:00
2023-07-25 10:31:52 +02:00
2023-08-01 11:16:49 +01:00
2023-07-19 15:32:35 -07:00
2023-07-25 14:32:21 -05:00
2023-08-18 18:44:23 +02:00
2023-08-14 08:27:12 -05:00
2023-08-18 09:54:50 -07:00