Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
Signed-off-by: gabriel-farache <[email protected]>
  • Loading branch information
gabriel-farache committed Jun 21, 2024
1 parent cd17da6 commit 38b94f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion plugins/orchestrator/src/components/WorkflowsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const WorkflowsTable = ({ items }: WorkflowsTableProps) => {
];

return actionItems;
}, [handleExecute, handleView]);
}, [handleExecute, handleView, permittedToExecute]);

const columns = useMemo<TableColumn<FormattedWorkflowOverview>[]>(
() => [
Expand Down

0 comments on commit 38b94f4

Please sign in to comment.