mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
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:
@ -107,8 +107,11 @@ export default class DataGridUtils
|
|||||||
if(metaData)
|
if(metaData)
|
||||||
{
|
{
|
||||||
joinLinkBase = metaData.getTablePath(join.joinTable);
|
joinLinkBase = metaData.getTablePath(join.joinTable);
|
||||||
|
if(joinLinkBase)
|
||||||
|
{
|
||||||
joinLinkBase += joinLinkBase.endsWith("/") ? "" : "/";
|
joinLinkBase += joinLinkBase.endsWith("/") ? "" : "/";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(join?.joinTable?.fields?.values())
|
if(join?.joinTable?.fields?.values())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user