File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
6262- ` <MultiSuggestField /> `
6363 - ` onSelection ` now sets ` newlySelected ` only for add actions and no longer sets it to the last element
6464 - border of the BlueprintJS ` Tag ` elements were fixed
65+ - ` <Button /> `
66+ - badge is correctly displayed when ` badge={0} `
6567- Focus outlines
6668 - we use again bold focus outlines for input elements
6769 - they are also used for clickable elements that are focused via keyboard (tab navigation)
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export const Button = ({
113113 rightIcon = { typeof rightIcon === "string" ? < Icon name = { rightIcon } /> : rightIcon }
114114 >
115115 { children }
116- { badge && (
116+ { typeof badge !== "undefined" && (
117117 < Badge
118118 children = { badge }
119119 { ...constructBadgeProperties ( {
You can’t perform that action at this time.
0 commit comments