diff --git a/plugins/orchestrator/src/components/WorkflowDefinitionViewerPage/WorkflowDefinitionViewerPage.tsx b/plugins/orchestrator/src/components/WorkflowDefinitionViewerPage/WorkflowDefinitionViewerPage.tsx index fcd5d1f9a28..177b36e728e 100644 --- a/plugins/orchestrator/src/components/WorkflowDefinitionViewerPage/WorkflowDefinitionViewerPage.tsx +++ b/plugins/orchestrator/src/components/WorkflowDefinitionViewerPage/WorkflowDefinitionViewerPage.tsx @@ -10,10 +10,10 @@ import { } from '@backstage/core-plugin-api'; import { usePermission } from '@backstage/plugin-permission-react'; -import { Tooltip } from '@mui/material'; import Button from '@mui/material/Button'; import Grid from '@mui/material/Grid'; import Skeleton from '@mui/material/Skeleton'; +import Tooltip from '@mui/material/Tooltip'; import { orchestratorWorkflowExecutePermission } from '@janus-idp/backstage-plugin-orchestrator-common'; diff --git a/plugins/orchestrator/src/components/WorkflowInstancePage.tsx b/plugins/orchestrator/src/components/WorkflowInstancePage.tsx index 046c828c90b..1b6cdbfc1ab 100644 --- a/plugins/orchestrator/src/components/WorkflowInstancePage.tsx +++ b/plugins/orchestrator/src/components/WorkflowInstancePage.tsx @@ -13,9 +13,9 @@ import { } from '@backstage/core-plugin-api'; import { usePermission } from '@backstage/plugin-permission-react'; -import { Tooltip } from '@mui/material'; import Button from '@mui/material/Button'; import Grid from '@mui/material/Grid'; +import Tooltip from '@mui/material/Tooltip'; import { AssessedProcessInstance, diff --git a/plugins/orchestrator/src/components/WorkflowsTable.tsx b/plugins/orchestrator/src/components/WorkflowsTable.tsx index 5281f2257c9..ca0192772fb 100644 --- a/plugins/orchestrator/src/components/WorkflowsTable.tsx +++ b/plugins/orchestrator/src/components/WorkflowsTable.tsx @@ -85,7 +85,7 @@ export const WorkflowsTable = ({ items }: WorkflowsTableProps) => { ]; return actionItems; - }, [handleExecute, handleView]); + }, [handleExecute, handleView, permittedToExecute]); const columns = useMemo[]>( () => [