Fixed revision creation for new posts
We had incorrectly ported the existing functionality and started adding 2 revisions for each new post. This fixes the logic to only add 1.
This commit is contained in:
parent
c2f14ccd82
commit
ff082c1934
@ -53,7 +53,6 @@ class PostRevisions {
|
||||
|
||||
if (revisions.length === 0) {
|
||||
return [
|
||||
this.convertPostLikeToRevision(previous, 1),
|
||||
currentRevision
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user