diff --git a/CHANGES.md b/CHANGES.md index 93517df7..25909aa0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ ## Version 1.22 +- Fix 'Record Type not displayed' in popup [issue 255](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/255) - Add "Options" page to manage local storage variables directly from the UX. Allow to reposition the popup button [feature 145](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/145) (contribution by [Pietro Martino](https://github.com/pietromartino)) - Bugfix Delete button does not check for 'toolingApi' parameter [issue 254](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/254) (contribution by [Oscar Gomez Balaguer](https://github.com/ogomezba)) - Add Apex classes documentation in shortcut [feature 247](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/247) diff --git a/addon/popup.js b/addon/popup.js index e7231f25..f3dc6d17 100644 --- a/addon/popup.js +++ b/addon/popup.js @@ -436,15 +436,18 @@ class AllDataBox extends React.PureComponent { if (!entity.keyPrefix) { // For some objects the keyPrefix is only available in some of the APIs. entity.keyPrefix = keyPrefix; } - if (!entity.durableId) { // For some objects the durableId is only available in some of the APIs + if (!entity.durableId) { entity.durableId = durableId; } - if (!entity.isEverCreatable) { // For some objects isEverCreatable is only available in some of the APIs + if (!entity.isEverCreatable) { entity.isEverCreatable = isEverCreatable; } - if (!entity.newUrl) { // For some objects isEverCreatable is only available in some of the APIs + if (!entity.newUrl) { entity.newUrl = newUrl; } + if (!entity.recordTypesSupported) { + entity.recordTypesSupported = recordTypesSupported; + } } else { entity = { availableApis: [],