mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Undo bug with summary table and raw data view
Summary: Clicking undo/redo after converting a table to a summary table navigated to the raw data view. Test Plan: new test Reviewers: georgegevoian, alexmojaki Reviewed By: georgegevoian, alexmojaki Subscribers: alexmojaki Differential Revision: https://phab.getgrist.com/D3337
This commit is contained in:
@@ -163,6 +163,9 @@ function createNodes(docModel: DocModel, sections: MaybeSection[]) {
|
||||
|
||||
// Creates an array of LinkNode from a view section record.
|
||||
function fromViewSectionRec(section: ViewSectionRec): LinkNode[] {
|
||||
if (section.isDisposed()) {
|
||||
return [];
|
||||
}
|
||||
const table = section.table.peek();
|
||||
const ancestors = new Set<number>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user