Browse Source

<param> -> <span>

visuddhinanda 3 years ago
parent
commit
f92c1d05e1
1 changed files with 9 additions and 0 deletions
  1. 9 0
      dashboard/src/components/template/utilities.ts

+ 9 - 0
dashboard/src/components/template/utilities.ts

@@ -78,6 +78,15 @@ export function XmlToReact(
                 )
               );
               break;
+            case "param":
+              output.push(
+                React.createElement(
+                  "span",
+                  getAttr(value, i),
+                  convert(value, wordWidget, convertor)
+                )
+              );
+              break;
             default:
               output.push(
                 React.createElement(