Fix the error when trying to load tracker

This commit is contained in:
nathan 2022-01-19 13:37:40 -07:00
parent ac808f96e0
commit 2ea15ed399

View File

@ -787,7 +787,7 @@ export class et2_grid extends et2_DOMWidget implements et2_IDetachedDOM, et2_IAl
{
td.hide();
// Need to do different things with webComponents
if(typeof cell.widget.options !== "undefined")
if(typeof cell.widget.options === "object")
{
cell.widget.options.disabled = cell.disabled;
}