Skip to content

Commit

Permalink
Bug fix: enums display as their expanded versions on feature detail p…
Browse files Browse the repository at this point in the history
…age (#2893)

* enums display as their expanded versions

* Update core_enums.py
  • Loading branch information
DanielRyanSmith authored Mar 31, 2023
1 parent 4459008 commit 4dda7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-src/elements/chromedash-feature-detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ class ChromedashFeatureDetail extends LitElement {
web_dev_views_notes: 'browsers.webdev.view.notes',
other_views_notes: 'browsers.other.view.notes',
};
if (!value && fieldNameMapping[fieldName]) {
if (fieldNameMapping[fieldName]) {
value = this.feature;
for (const step of fieldNameMapping[fieldName].split('.')) {
if (value) {
Expand Down

0 comments on commit 4dda7c5

Please sign in to comment.