mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
fix(linked-docs): fix original version when no checkpoint exists
This commit is contained in:
parent
27ed4f23b6
commit
0d88b69bd3
@ -277,7 +277,7 @@ define([
|
||||
}
|
||||
});
|
||||
if (version) { version = Math.min(version, content.version || 1); }
|
||||
return version;
|
||||
return version || content.version || 1;
|
||||
};
|
||||
|
||||
const addLinkedCheckpoint = (cpData, cb) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user