File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,13 @@ const iconMetadata = z
137137 } ) )
138138 // As we don't currently perform optical scaling, we only want the 24px
139139 // icons or those which are explicitly indicated in their name to be
140- // designed for a smaller size. We also don't want placeholders.
140+ // designed for a smaller size. We also don't want placeholders or icons
141+ // with a baked-in unread messages dot.
141142 . filter (
142- ( { name, properties : { Size : size } } ) =>
143+ ( { name, properties : { Size : size , Unread : unread } } ) =>
143144 ( size === "24" || name . includes ( `${ size } x${ size } ` ) ) &&
144- name !== "Icon Placeholder" ,
145+ name !== "Icon Placeholder" &&
146+ unread !== "True" ,
145147 ) ;
146148 for ( const { componentSetId, name } of components ) {
147149 if ( ! name ) {
You can’t perform that action at this time.
0 commit comments