diff options
| author | Liam Mitchell <[email protected]> | 2026-02-09 06:49:22 -0800 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-02-09 15:49:22 +0100 |
| commit | dfd73136dc74de3cc4a1815d06e26252f90ee6bd (patch) | |
| tree | 5f46a034014a8a4b5c9cb4f72686eeaa5629dc18 /src/zenserver/frontend/html/util | |
| parent | 5.7.20-pre2 (diff) | |
| download | zen-dfd73136dc74de3cc4a1815d06e26252f90ee6bd.tar.xz zen-dfd73136dc74de3cc4a1815d06e26252f90ee6bd.zip | |
Fix formatting of stat pages (#748)
* Fix formatting of stat pages
Diffstat (limited to 'src/zenserver/frontend/html/util')
| -rw-r--r-- | src/zenserver/frontend/html/util/component.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenserver/frontend/html/util/component.js b/src/zenserver/frontend/html/util/component.js index 3c4780d77..830c6989a 100644 --- a/src/zenserver/frontend/html/util/component.js +++ b/src/zenserver/frontend/html/util/component.js @@ -71,6 +71,9 @@ class ComponentDom extends ComponentBase text(value) { + if (value != undefined && typeof value.tag === "function") + this.tag(value.tag()) + value = (value == undefined) ? "undefined" : value.toString(); this._element.textContent = (value != "") ? value : ""; return this; |