优化:隐藏排钻时,当编组丢失时避免错误

pull/1474/head
ChenX 4 years ago
parent 1379554e7e
commit 7ffd5e576f

@ -410,7 +410,7 @@ export class HideSelectModal extends React.Component<{ store: HideSelectStore; }
const filterHoles = (h: Hole) =>
{
let ens: Entity[] = [h];
if (h.GroupId)
if (h.GroupId?.Object)
{
const group = h.GroupId.Object as GroupRecord;
ens = group.Entitys.map(h => h.Object) as Entity[];

Loading…
Cancel
Save