add-change-set

Signed-off-by: sjeyaraman <sjeyaraman@expedia.com>
This commit is contained in:
sjeyaraman
2022-06-05 17:10:23 -07:00
parent 888731df92
commit 06905f4ed0
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'example-app': patch
'@backstage/plugin-catalog': patch
---
Adding ability to customize the "unregister entity" menu item in the entity context menu on the entity page with options 'visible','hidden','disabled'.
With this three new options, one can hide the "unregister entity" menu item from the list, disable or keep it enabled.
The boolean input for "unregister entity" will be deprecated later in favour of the above three options.
@@ -172,7 +172,7 @@ const EntityLayoutWrapper = (props: { children?: ReactNode }) => {
};
const options: contextMenuOptions = {
disableUnregister: false,
disableUnregister: 'visible',
};
return (