diff --git a/plugins/catalog-react/src/components/UnregisterEntityDialog/UnregisterEntityDialog.tsx b/plugins/catalog-react/src/components/UnregisterEntityDialog/UnregisterEntityDialog.tsx
index 48aa2f4012..6c4984129e 100644
--- a/plugins/catalog-react/src/components/UnregisterEntityDialog/UnregisterEntityDialog.tsx
+++ b/plugins/catalog-react/src/components/UnregisterEntityDialog/UnregisterEntityDialog.tsx
@@ -39,14 +39,19 @@ const useStyles = makeStyles({
advancedButton: {
fontSize: '0.7em',
},
+ dialogActions: {
+ display: 'inline-block',
+ },
});
const Contents = ({
entity,
onConfirm,
+ onClose,
}: {
entity: Entity;
onConfirm: () => any;
+ onClose: () => any;
}) => {
const alertApi = useApi(alertApiRef);
const configApi = useApi(configApiRef);
@@ -92,6 +97,14 @@ const Contents = ({
[alertApi, onConfirm, state],
);
+ const DialogActionsPanel = () => (
+
+
+
+ );
+
if (state.type === 'loading') {
return ;
}
@@ -112,15 +125,18 @@ const Contents = ({
{!showDelete && (
-
+ <>
+
+
+ >
)}
{showDelete && (
@@ -140,6 +156,7 @@ const Contents = ({
>
Delete Entity
+
>
)}
@@ -162,6 +179,7 @@ const Contents = ({
>
Delete Entity
+
>
);
}
@@ -258,13 +276,8 @@ export const UnregisterEntityDialog = (props: UnregisterEntityDialogProps) => {
Are you sure you want to unregister this entity?
-
+
-
-
-
);
};