Skip to content

Commit

Permalink
fix and improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewThien committed Dec 10, 2024
1 parent 756a19c commit 3e966c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/next-client-app/components/jobs/JobDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export default function JobDialog({
data={jobs}
count={jobs.length}
clickableRow={false}
viewColumns={false}
paginated={false}
viewColumns={false}
/>
))
: "Retrieving Jobs"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { SelectTriggerProps } from "@radix-ui/react-select";

interface MappingStatusProps extends SelectTriggerProps {
id: string;
mapping_status: Status;
mapping_status: { value: string };
dataset: string;
disabled: boolean;
}
Expand Down
6 changes: 3 additions & 3 deletions app/next-client-app/constants/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ export const JobStage = [
{
id: 3,
value: "REUSE_CONCEPTS",
display_name: "Reusing concepts from other scan reports",
display_name: "Reusing mappings from available data",
},
{
id: 4,
value: "GENERATE_RULES",
display_name: "Automatic generating mapping rules from available concepts",
display_name: "Generating rules from available mappings",
},
{
id: 5,
value: "DOWNLOAD_RULES",
display_name: "Generate and download mapping rules JSON",
display_name: "Generate mapping rules file",
},
];

Expand Down

0 comments on commit 3e966c8

Please sign in to comment.