js-spread-grid 0.0.46 → 0.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-spread-grid",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "description": "Fast grid for js applications",
5
5
  "author": "Tomasz Rewak <tomasz.rewak@gmail.com>",
6
6
  "license": "MIT",
@@ -24,7 +24,7 @@ function indexBorders(style, index) {
24
24
 
25
25
  function getText(context) {
26
26
  if ('text' in context)
27
- return context.text;
27
+ return `${context.text}`;
28
28
  if ('newValue' in context)
29
29
  return `${context.newValue}`;
30
30
  if (context.value !== undefined)
@@ -121,7 +121,7 @@ export default class FormattingRules {
121
121
  if (draw !== undefined)
122
122
  result.draw = draw;
123
123
  if ('text' in context)
124
- result.text = context.text;
124
+ result.text = text;
125
125
 
126
126
  return result;
127
127
  }