Skip to content

Commit

Permalink
bug: fixing infinite spinner on PaperTrail when using postgres and cr…
Browse files Browse the repository at this point in the history
…eating a new record or no trails exist
  • Loading branch information
PenguinOfWar committed Feb 9, 2024
1 parent 2e4a17b commit 53c5c79
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .nova/Tasks/Node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"actions" : {
"build" : {
"enabled" : true,
"script" : "CI=true npm run test"
}
}
}
2 changes: 2 additions & 0 deletions admin/src/components/PaperTrail/PaperTrail.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ function PaperTrail() {

if (!loaded && paperTrailEnabled && id) {
getTrails(page, pageSize);
} else {
setInitialLoad(true);
}
}, [loaded, uid, id]);

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.1",
"version": "0.4.2",
"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 53c5c79

Please sign in to comment.