Fix cashroot not displaying properly

This commit is contained in:
Olivier Gagnon
2021-05-02 00:07:04 -04:00
parent d126b6d8c5
commit 56ce83cce5
4 changed files with 30 additions and 6 deletions
@@ -368,5 +368,10 @@ function updateAugDescription(elems: IResleeveUIElems): void {
return;
}
elems.augDescription.innerHTML = aug.info;
let innerHTML = aug.info;
if(typeof innerHTML !== 'string') {
innerHTML = renderToStaticMarkup(innerHTML);
}
elems.augDescription.innerHTML = innerHTML;
}