Skip to content

Commit

Permalink
Fixes #33
Browse files Browse the repository at this point in the history
  • Loading branch information
slominskir committed Mar 14, 2024
1 parent 986be9a commit 4dc112a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/jlab/wedm/widget/html/ActiveUpdateText.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public void parseTraits(Map<String, String> traits, ScreenProperties properties)

displayMode = traits.get("displayMode");

if (displayMode == null) {
attributes.put("data-show-units", "true");
}

if ("exp".equals(displayMode) || "engineer".equals(displayMode)) {
format = "exponential";

Expand Down

0 comments on commit 4dc112a

Please sign in to comment.