Skip to content

Commit

Permalink
Merge pull request #15 from redondi88/main
Browse files Browse the repository at this point in the history
Fix Undefined Bug from Admin console
  • Loading branch information
PenguinOfWar committed Feb 8, 2024
2 parents bfc6974 + b2208db commit 02ce05b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/src/components/PaperTrail/PaperTrail.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function PaperTrail() {
}
}

if (!loaded) {
if (!loaded && paperTrailEnabled && id) {
getTrails(page, pageSize);
}
}, [loaded, uid, id]);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "strapi-plugin-paper-trail",
"version": "0.4.0",
"version": "0.4.1",
"description": "Accountability and content versioning for strapi v4+",
"homepage": "https://github.com/PenguinOfWar/strapi-plugin-paper-trail#readme",
"bugs": {
Expand Down

0 comments on commit 02ce05b

Please sign in to comment.