sf-i-events 1.0.430 → 1.0.431

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,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.430",
4
+ "version": "1.0.431",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/sf-i-events.js CHANGED
@@ -7516,7 +7516,7 @@ let SfIEvents = class SfIEvents extends LitElement {
7516
7516
  for (var i = 0; i < comments.length; i++) {
7517
7517
  html += '<div part="commentbox" class="d-flex commentbox ' + (comments[i].author + "").toLowerCase() + 'box">';
7518
7518
  html += '<div class="mr-20"><strong>' + comments[i].author + '</strong><br />' + ((i === (comments.length - 1) && this.enableDeleteLatestReport) ? '<button class="mt-5 button-delete" part="button">Delete</button>' : '') + '</div>';
7519
- const onlyCommentText = comments[i].comment.replace(/ *\([^)]*\) */g, "").trim();
7519
+ const onlyCommentText = (comments[i].comment + "").replace(/ *\([^)]*\) */g, "").trim();
7520
7520
  try {
7521
7521
  const jsonComments = JSON.parse(onlyCommentText);
7522
7522
  if (Util.isInteger(jsonComments)) {