-
Notifications
You must be signed in to change notification settings - Fork 360
fix: only show safe sidebar on open Safes #3463
Conversation
|
CLA Assistant Lite All Contributors have signed the CLA. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
Pull Request Test Coverage Report for Build 1813497675
💛 - Coveralls |
|
E2E Tests Failed Failed tests:
|
usame-algan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix!
|
AFAIU the problem in the bug report isn't that the sidebar is open. It's the fact that the Safe address is displayed in it, although it failed to load. |
The sidebar still shows Safe-related information when you navigate away from the Safe 'view':
We were previously retrieving the Safe address from the URL, but now that it checks the store, it is ever present. It would previously not show Safe-related information in the sidebar |
|
Looks good to me |
What it solves
Resolves #3458
How this PR fixes it
The Safe-specific sidebar is only shown when a Safe address exists in the URL. (The 'loaded' Safe remains in the store so it is necessary to use the URL as a flag as well).
How to test it
Screenshots