FIX: Remove duplicate user menu for old header implementation (#27002)

Some of the old (pre-dag) header logic was accidently re-introduced as part of 9bcbfbba43 (presumably by mistake while resolving a merge conflict). This causes sites on the old header implementation to end up with duplicate user menu icons.
This commit is contained in:
David Taylor 2024-05-13 16:42:55 +01:00 committed by GitHub
parent 1c26fe892a
commit 48580de30e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -289,16 +289,6 @@ createWidget("header-icons", {
}
});
if (attrs.user) {
icons.push(
this.attach("user-dropdown", {
active: attrs.userVisible,
action: "toggleUserMenu",
user: attrs.user,
})
);
}
return icons;
},
});