[Glitch] Fix regressions in icon buttons in web UI

Port a549415868 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Eugen Rochko
2020-10-04 15:02:36 +02:00
committed by Thibaut Girka
parent 8f950e540b
commit 47edac871c
3 changed files with 13 additions and 2 deletions

View File

@@ -123,6 +123,7 @@ export default class IconButton extends React.PureComponent {
activate,
deactivate,
overlayed: overlay,
'icon-button--with-counter': typeof counter !== 'undefined',
});
if (typeof counter !== 'undefined') {