We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2519675 commit 8baf9c6Copy full SHA for 8baf9c6
lib/instance-actions.js
@@ -86,7 +86,7 @@ export function createUpdatedChecker () {
86
return function () {
87
// The act of publishing an entity increases its version by 1, so any entry which has
88
// 2 versions higher or more than the publishedVersion has unpublished changes.
89
- return this.sys.publishedVersion && this.sys.version > this.sys.publishedVersion + 1
+ return !!(this.sys.publishedVersion && this.sys.version > this.sys.publishedVersion + 1)
90
}
91
92
0 commit comments