mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Fix non-existent page ID showing all raw data widgets
Summary: Check that view exists first, otherwise fall back to default Test Plan: Manual Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3260
This commit is contained in:
@@ -10,7 +10,7 @@ import {Document} from 'app/common/UserAPI';
|
||||
import clone = require('lodash/clone');
|
||||
import pickBy = require('lodash/pickBy');
|
||||
|
||||
const SpecialDocPage = StringUnion('code', 'acl', 'data', 'GristDocTour');
|
||||
export const SpecialDocPage = StringUnion('code', 'acl', 'data', 'GristDocTour');
|
||||
type SpecialDocPage = typeof SpecialDocPage.type;
|
||||
export type IDocPage = number | SpecialDocPage;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user