fix(linked-docs): fix original version when no checkpoint exists

This commit is contained in:
yflory 2026-07-31 15:14:20 +02:00
parent 27ed4f23b6
commit 0d88b69bd3

View File

@ -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) => {