Skip to content

Fix bad type checking to prevent 0 count badge to be shown

Filipa Lacerda requested to merge 34841-todos into master

What does this MR do?

count provided to the function updating the badge is a string: Screen_Shot_2017-10-09_at_15.04.24

  • Added docs to this function to make it clear
  • Updated tests to check for strings and not numbers
  • Exported the gl.text function being used in here (it's the only place it's used)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #34841 (closed)

Merge request reports

Loading