Skip to content

Commit c719b3e

Browse files
add note
1 parent 9ad89fd commit c719b3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/django_github_app/templates/admin/django_github_app/includes/json_prettify_script.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
}, {});
2121
};
2222

23+
// Make sure to only target the two fields we care about:
24+
// - EventLog.payload
25+
// - Installation.data
2326
Array.from(document.querySelectorAll('.field-data div.readonly, .field-payload div.readonly')).forEach(div => {
2427
let data;
2528
try {

0 commit comments

Comments
 (0)