Skip to content

Commit 11bb472

Browse files
author
Greg Trihus
committed
TT-6777 Fix handling of undefined section IDs in ProjectResourceConfigure component
1 parent 1c52a38 commit 11bb472

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/renderer/src/components/PassageDetail/Internalization/ProjectResourceConfigure.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ export const ProjectResourceConfigure = (props: IProps) => {
239239
const total = infoRef.current.length;
240240
for (const i of infoRef.current) {
241241
if (canceling.current) break;
242+
if (i?.section?.id === undefined) continue;
242243
ix += 1;
243244
let row = d[ix];
244245
while (row[ColName.Ref].value === '' && ix < d.length) {

0 commit comments

Comments
 (0)