Skip to content

Commit

Permalink
Parsing the data attribute of wrapper before returning
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaymayekar committed Apr 16, 2024
1 parent b2164e7 commit 3216d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export default {

this.reportMessage.handle(
messageId,
wrapper.getAttribute("data-payload"),
JSON.parse(wrapper.getAttribute("data-payload")),
reportMessageInput.value,
);
reportDialog.style.display = "none";
Expand Down

0 comments on commit 3216d0a

Please sign in to comment.