Skip to content

Commit 4df4117

Browse files
committed
fix missing object in all lists
1 parent 5b282ef commit 4df4117

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

force-app/main/default/lwc/orgcheckApp/orgcheckApp.js

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,8 +1175,9 @@ export default class OrgcheckApp extends LightningElement {
11751175
{ label: 'Score', type: ocui.ColumnType.SCR, data: { value: 'score', id: 'id', name: 'name' }},
11761176
{ label: 'Name', type: ocui.ColumnType.URL, data: { value: 'url', label: 'name' }},
11771177
{ label: 'Package', type: ocui.ColumnType.TXT, data: { value: 'package' }},
1178-
{ label: 'In this object', type: ocui.ColumnType.URL, data: { value: 'objectRef.url', label: 'objectRef.name' }},
1179-
{ label: 'Object Type', type: ocui.ColumnType.TXT, data: { value: 'objectRef.typeRef.label' }},
1178+
{ label: 'Object API Name', type: ocui.ColumnType.TXT, data: { value: 'objectId' }},
1179+
{ label: 'Object Name', type: ocui.ColumnType.URL, data: { value: 'objectRef.url', label: 'objectRef.name' }, modifier: { valueIfEmpty: 'N/A' }},
1180+
{ label: 'Object Type', type: ocui.ColumnType.TXT, data: { value: 'objectRef.typeRef.label' }, modifier: { valueIfEmpty: 'N/A' }},
11801181
{ label: 'Is Active', type: ocui.ColumnType.CHK, data: { value: 'isActive' }},
11811182
{ label: 'Display On Field', type: ocui.ColumnType.TXT, data: { value: 'errorDisplayField' }},
11821183
{ label: 'Error Message', type: ocui.ColumnType.TXT, data: { value: 'errorMessage' }},
@@ -2057,29 +2058,30 @@ export default class OrgcheckApp extends LightningElement {
20572058
*/
20582059
apexTriggersTableDefinition = {
20592060
columns: [
2060-
{ label: '#', type: ocui.ColumnType.IDX },
2061-
{ label: 'Score', type: ocui.ColumnType.SCR, data: { value: 'score', id: 'id', name: 'name' }},
2062-
{ label: 'Name', type: ocui.ColumnType.URL, data: { value: 'url', label: 'name' }},
2063-
{ label: 'API Version', type: ocui.ColumnType.NUM, data: { value: 'apiVersion' }, modifier: { valueIfEmpty: 'No version.' }},
2064-
{ label: 'Package', type: ocui.ColumnType.TXT, data: { value: 'package' }},
2065-
{ label: 'Size', type: ocui.ColumnType.NUM, data: { value: 'length' }},
2066-
{ label: 'Hardcoded URLs', type: ocui.ColumnType.TXTS, data: { values: 'hardCodedURLs' }},
2067-
{ label: 'Hardcoded IDs', type: ocui.ColumnType.TXTS, data: { values: 'hardCodedIDs' }},
2068-
{ label: 'Object', type: ocui.ColumnType.URL, data: { value: 'objectRef.url', label: 'objectRef.name' }},
2069-
{ label: 'Active?', type: ocui.ColumnType.CHK, data: { value: 'isActive' }},
2070-
{ label: 'Has SOQL?', type: ocui.ColumnType.CHK, data: { value: 'hasSOQL' }},
2071-
{ label: 'Has DML?', type: ocui.ColumnType.CHK, data: { value: 'hasDML' }},
2072-
{ label: '*Insert', type: ocui.ColumnType.CHK, data: { value: 'beforeInsert' }},
2073-
{ label: 'Insert*', type: ocui.ColumnType.CHK, data: { value: 'afterInsert' }},
2074-
{ label: '*Update', type: ocui.ColumnType.CHK, data: { value: 'beforeUpdate' }},
2075-
{ label: 'Update*', type: ocui.ColumnType.CHK, data: { value: 'afterUpdate' }},
2076-
{ label: '*Delete', type: ocui.ColumnType.CHK, data: { value: 'beforeDelete' }},
2077-
{ label: 'Delete*', type: ocui.ColumnType.CHK, data: { value: 'afterDelete' }},
2078-
{ label: 'Undelete', type: ocui.ColumnType.CHK, data: { value: 'afterUndelete' }},
2079-
{ label: 'Using', type: ocui.ColumnType.NUM, data: { value: 'dependencies.using.length' }},
2080-
{ label: 'Dependencies', type: ocui.ColumnType.DEP, data: { value: 'dependencies', id: 'id', name: 'name' }},
2081-
{ label: 'Created date', type: ocui.ColumnType.DTM, data: { value: 'createdDate' }},
2082-
{ label: 'Modified date', type: ocui.ColumnType.DTM, data: { value: 'lastModifiedDate' }},
2061+
{ label: '#', type: ocui.ColumnType.IDX },
2062+
{ label: 'Score', type: ocui.ColumnType.SCR, data: { value: 'score', id: 'id', name: 'name' }},
2063+
{ label: 'Name', type: ocui.ColumnType.URL, data: { value: 'url', label: 'name' }},
2064+
{ label: 'API Version', type: ocui.ColumnType.NUM, data: { value: 'apiVersion' }, modifier: { valueIfEmpty: 'No version.' }},
2065+
{ label: 'Package', type: ocui.ColumnType.TXT, data: { value: 'package' }},
2066+
{ label: 'Size', type: ocui.ColumnType.NUM, data: { value: 'length' }},
2067+
{ label: 'Hardcoded URLs', type: ocui.ColumnType.TXTS, data: { values: 'hardCodedURLs' }},
2068+
{ label: 'Hardcoded IDs', type: ocui.ColumnType.TXTS, data: { values: 'hardCodedIDs' }},
2069+
{ label: 'Object API Name', type: ocui.ColumnType.TXT, data: { value: 'objectId' }},
2070+
{ label: 'Object Name', type: ocui.ColumnType.URL, data: { value: 'objectRef.url', label: 'objectRef.name' }, modifier: { valueIfEmpty: 'N/A' }},
2071+
{ label: 'Active?', type: ocui.ColumnType.CHK, data: { value: 'isActive' }},
2072+
{ label: 'Has SOQL?', type: ocui.ColumnType.CHK, data: { value: 'hasSOQL' }},
2073+
{ label: 'Has DML?', type: ocui.ColumnType.CHK, data: { value: 'hasDML' }},
2074+
{ label: '*Insert', type: ocui.ColumnType.CHK, data: { value: 'beforeInsert' }},
2075+
{ label: 'Insert*', type: ocui.ColumnType.CHK, data: { value: 'afterInsert' }},
2076+
{ label: '*Update', type: ocui.ColumnType.CHK, data: { value: 'beforeUpdate' }},
2077+
{ label: 'Update*', type: ocui.ColumnType.CHK, data: { value: 'afterUpdate' }},
2078+
{ label: '*Delete', type: ocui.ColumnType.CHK, data: { value: 'beforeDelete' }},
2079+
{ label: 'Delete*', type: ocui.ColumnType.CHK, data: { value: 'afterDelete' }},
2080+
{ label: 'Undelete', type: ocui.ColumnType.CHK, data: { value: 'afterUndelete' }},
2081+
{ label: 'Using', type: ocui.ColumnType.NUM, data: { value: 'dependencies.using.length' }},
2082+
{ label: 'Dependencies', type: ocui.ColumnType.DEP, data: { value: 'dependencies', id: 'id', name: 'name' }},
2083+
{ label: 'Created date', type: ocui.ColumnType.DTM, data: { value: 'createdDate' }},
2084+
{ label: 'Modified date', type: ocui.ColumnType.DTM, data: { value: 'lastModifiedDate' }},
20832085
],
20842086
orderIndex: 1,
20852087
orderSort: ocui.SortOrder.DESC

0 commit comments

Comments
 (0)