Allow the ID field to be displayed in the diagram.
Allow the ID field to be displayed in the diagram. I have replace "Id" by "ID"
This commit is contained in:
parent
7ea3644105
commit
a1c88e5ae1
|
@ -69,7 +69,7 @@ const getSPSiteData = async (spfxContext: any, force?: boolean, progress?: (numb
|
|||
// Fields
|
||||
const fields = (await sp.web.lists.getById(list.Id).fields.filter("Hidden ne 1")())
|
||||
.filter(f => !f.Hidden && (f as any).LookupList !== "AppPrincipals" &&
|
||||
((f as any).CanBeDeleted || (f as any).InternalName === "Title" || (f as any).InternalName === "Id")
|
||||
((f as any).CanBeDeleted || (f as any).InternalName === "Title" || (f as any).InternalName === "ID")
|
||||
)
|
||||
//.sort((a,b) => a.InternalName.charCodeAt(0) - b.InternalName.charCodeAt(0) );
|
||||
table.fields = fields.map(f => {
|
||||
|
@ -124,4 +124,4 @@ const getSPSiteData = async (spfxContext: any, force?: boolean, progress?: (numb
|
|||
return spSiteData
|
||||
}
|
||||
|
||||
export default getSPSiteData;
|
||||
export default getSPSiteData;
|
||||
|
|
Loading…
Reference in New Issue