Follow-up from "Colorize labels in issue search field"
The following discussion from !11047 (merged) should be addressed:
-
@ClemMakesApps started a discussion: (+1 comment) Class syntax is the same as this object literal but afaik, we want to be consistent and make them all es6 classes
That's if I'm understanding https://docs.gitlab.com/ce/development/fe_guide/design_patterns.html#singletons correctly
-
@winh no need to call labels.json twice. Grab the data before.