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 70de933e56
commit ff5b2f9947
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.
@@ -165,7 +165,7 @@ const EntityLayoutWrapper = (props: { children?: ReactNode }) => {
},
];
}, []);
const options: EntityContextMenuOptions = {
disableUnregister: 'visible',
};