Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Remove some console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarjenburgh committed Sep 20, 2023
1 parent 17720ec commit b4ae465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/components/CreateServiceTicket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ function CreateServiceTicket() {

useEffect(() => {
//get labels from ticket objects for combobox
console.log("useEffect");
setJiraTicketsLabels(getLabels(jiraTickets));
setImsTicketsLabels(getLabels(imsTickets));
}, [selectedOptionsIMS, selectedOptionsJira, imsTickets, jiraTickets]);
Expand Down
7 changes: 3 additions & 4 deletions src/components/tables/Processes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export function ProcessesTable({ initialTableSettings, renderActions }: Processe
const [filterQ, setFilterQ] = useQueryParam(queryNameSpace + "Filter", CommaSeparatedStringArrayParam);
const { organisations, products, assignees, processStatuses } = useContext(ApplicationContext);

console.log("FILTERQ", filterQ);
const initialize = useMemo(
() =>
function (current: TableSettings<ProcessV2>): TableState<ProcessV2> {
Expand Down Expand Up @@ -188,7 +187,7 @@ export function ProcessesTable({ initialTableSettings, renderActions }: Processe
Filter: ({ toggleAllRowsExpanded }: FilterParams) => (
<i className="fa fa-arrows-alt-v" onClick={() => toggleAllRowsExpanded()} />
),
Cell: ({ row, cell }: { row: Row; cell: Cell }) => {
Cell: ({ row }: { row: Row; cell: Cell }) => {
const caret = row.values.pid === highlightQ ? <i className={"fa fa-caret-right"} /> : null;
const button = row.isExpanded ? (
<i className={`fa fa-minus-circle ${row.values.status}`} />
Expand Down Expand Up @@ -311,7 +310,7 @@ export function ProcessesTable({ initialTableSettings, renderActions }: Processe
},
{
Header: "",
accessor: (originalRow: ProcessV2, index: number) => originalRow,
accessor: (originalRow: ProcessV2) => originalRow,
id: "actions",
Cell: ({ cell }: { cell: Cell }) => (
<ActionContainer
Expand All @@ -324,7 +323,7 @@ export function ProcessesTable({ initialTableSettings, renderActions }: Processe
</span>
);
}}
renderContent={(disabled) => renderActions(cell.value)}
renderContent={() => renderActions(cell.value)}
/>
),
disableFilters: true,
Expand Down

0 comments on commit b4ae465

Please sign in to comment.