mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Remove 'new' from IDocPage
Summary: The value seems unused Test Plan: This is me testing if it's actually unused Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D3244
This commit is contained in:
@@ -350,7 +350,7 @@ export class GristDoc extends DisposableWithEvents {
|
||||
dom.domComputed<IDocPage>(this.activeViewId, (viewId) => (
|
||||
viewId === 'code' ? dom.create((owner) => owner.autoDispose(CodeEditorPanel.create(this))) :
|
||||
viewId === 'acl' ? dom.create((owner) => owner.autoDispose(AccessRules.create(this, this))) :
|
||||
viewId === 'new' || viewId == 'GristDocTour' ? null :
|
||||
viewId === 'GristDocTour' ? null :
|
||||
dom.create((owner) => (this._viewLayout = ViewLayout.create(owner, this, viewId)))
|
||||
)),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user