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 +1 -1
- package/sf-i-events.js +1 -1
- package/sf-i-events.js.map +1 -1
- package/src/sf-i-events.ts +1 -1
- package/dev/index.html +0 -653
package/package.json
CHANGED
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)) {
|