8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0989aa commit e991472Copy full SHA for e991472
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.js
@@ -252,11 +252,11 @@ class Legend {
252
}
253
254
get(category) {
255
- return this.categories.find(element => element.value === category);
+ return this.categories.find(element => element.value === category) || this.createCategory(category);
256
257
258
getClassname(category) {
259
- return this.classnames[category];
+ return this.classnames[category] || '';
260
261
262
getSectionClassname() {
0 commit comments