mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) New UI for raw data views
Summary: Creating new UI for raw data views based on design. - Renaming left for follow up diff - Link in the menu is hidden for now To access raw UI, use /p/data URL. Test Plan: new tests Reviewers: georgegevoian Reviewed By: georgegevoian Subscribers: dsagal Differential Revision: https://phab.getgrist.com/D3306
This commit is contained in:
@@ -37,7 +37,7 @@ export async function printViewSection(layout: any, viewSection: ViewSectionRec)
|
||||
|
||||
function prepareToPrint(onOff: boolean) {
|
||||
// Hide all layout boxes that do NOT contain the section to be printed.
|
||||
layout.forEachBox((box: any) => {
|
||||
layout?.forEachBox((box: any) => {
|
||||
if (!box.dom.contains(sectionElem)) {
|
||||
box.dom.classList.toggle('print-hide', onOff);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user