adad
This commit is contained in:
@@ -376,7 +376,8 @@ export function initEditor() {
|
|||||||
if (selectionToKeep && versionMap.has(selectionToKeep)) {
|
if (selectionToKeep && versionMap.has(selectionToKeep)) {
|
||||||
fallbackId = selectionToKeep;
|
fallbackId = selectionToKeep;
|
||||||
} else {
|
} else {
|
||||||
fallbackId = activeId || (rows[0] ? String(rows[0].id) : '');
|
// Default to the latest version so reopening shows the most recent edits.
|
||||||
|
fallbackId = (rows[0] ? String(rows[0].id) : '') || activeId;
|
||||||
}
|
}
|
||||||
if (fallbackId) {
|
if (fallbackId) {
|
||||||
lastVersionSelection = fallbackId;
|
lastVersionSelection = fallbackId;
|
||||||
|
|||||||
Reference in New Issue
Block a user