Fix archive and mute menu items.
Review Request #13938 — Created June 4, 2024 and submitted — Latest diff uploaded
The recent fix for the click handlers to menu items broke the items in
the archive menu, because those weren't properly converted to be
MenuItemAction
subclasses that implementedactivate()
. This change
does that, removing the custom event handling they were doing.
- Ran js-tests.
- Verified that I could [un]archive and [un]mute from the menu items.
- Verified that clicking on the archive menu header still toggled the
archive state.