Module Manifest and Rendered Manifest, use a different modal compared to the View Manifest button that every resource has. View Manifest needs to be updated.
Create a new state loadingResourceManifest, which will be set to true while fetching the resource manifest. Once fetched (successful or not), set it to false (the same way how the loadingRawManifest and loadingRenderedManifest states work).
Then use the moduleManifestContent() function to render the manifest (check how the Rendered manifest Modal does it).
Additionally, remove the OK button.
Module ManifestandRendered Manifest, use a different modal compared to theView Manifestbutton that every resource has.View Manifestneeds to be updated.Create a new state
loadingResourceManifest, which will be set totruewhile fetching the resource manifest. Once fetched (successful or not), set it tofalse(the same way how theloadingRawManifestandloadingRenderedManifeststates work).Then use the
moduleManifestContent()function to render the manifest (check how the Rendered manifest Modal does it).Additionally, remove the
OKbutton.