Avoid null-pointer when doing link to table that user doesn't have permission to (e.g., not in meta-data)

This commit is contained in:
2023-05-08 11:43:28 -05:00
parent 51bbcc9d35
commit fadde8d469

View File

@ -107,7 +107,10 @@ export default class DataGridUtils
if(metaData)
{
joinLinkBase = metaData.getTablePath(join.joinTable);
joinLinkBase += joinLinkBase.endsWith("/") ? "" : "/";
if(joinLinkBase)
{
joinLinkBase += joinLinkBase.endsWith("/") ? "" : "/";
}
}
if(join?.joinTable?.fields?.values())