From 2d36d210da46f983a79dfa91f0bb7f44dfe41101 Mon Sep 17 00:00:00 2001 From: James Clarke Date: Wed, 27 Nov 2024 22:00:02 +0000 Subject: [PATCH] Small fixes --- shared/common/components/resultGrid/state.ts | 2 +- shared/studio/components/modals/modals.module.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/common/components/resultGrid/state.ts b/shared/common/components/resultGrid/state.ts index 07693acf..febdd002 100644 --- a/shared/common/components/resultGrid/state.ts +++ b/shared/common/components/resultGrid/state.ts @@ -76,7 +76,7 @@ export class ResultGridState { ? tops.findIndex((top) => top > offsetRowIndex) - 1 : offsetRowIndex; return { - data: parentData[dataIndex][header.parent.name!], + data: parentData[dataIndex]?.[header.parent.name!] ?? [], indexOffset: indexOffset + (tops ? tops[dataIndex] : dataIndex), endIndex: indexOffset + (tops ? tops[dataIndex + 1] : dataIndex + 1), }; diff --git a/shared/studio/components/modals/modals.module.scss b/shared/studio/components/modals/modals.module.scss index 2bae3733..40663a89 100644 --- a/shared/studio/components/modals/modals.module.scss +++ b/shared/studio/components/modals/modals.module.scss @@ -1,4 +1,5 @@ .modalContent { width: 280px; overflow: visible; + font-size: 14px; }