mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Add additional safety check to uiAccount
This commit is contained in:
@@ -24,7 +24,7 @@ export function uiAccount(context) {
|
||||
userLink.html('');
|
||||
logoutLink.html('');
|
||||
|
||||
if (err) return;
|
||||
if (err || !details) return;
|
||||
|
||||
selection.selectAll('#userLink, #logoutLink')
|
||||
.classed('hide', false);
|
||||
|
||||
Reference in New Issue
Block a user