Skip to content

Commit

Permalink
fix: tags rendering as analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Oct 7, 2024
1 parent 54823f4 commit f87b48b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Configs/Changes/ConfigChangeTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { CellContext } from "@tanstack/react-table";
import { ColumnDef } from "@tanstack/table-core";
import React, { useState } from "react";
import ConfigLink from "../ConfigLink/ConfigLink";
import ConfigListTagsCell from "../ConfigList/Cells/ConfigListTagsCell";
import { ConfigSummaryAnalysisCell } from "../ConfigSummary/ConfigSummaryList";

Check warning on line 14 in src/components/Configs/Changes/ConfigChangeTable.tsx

View workflow job for this annotation

GitHub Actions / eslint

'ConfigSummaryAnalysisCell' is defined but never used
import { ConfigDetailChangeModal } from "./ConfigDetailsChanges/ConfigDetailsChanges";

Expand Down Expand Up @@ -119,7 +120,9 @@ const configChangesColumn: ColumnDef<ConfigChange>[] = [
{
header: "Tags",
accessorKey: "tags",
cell: ConfigSummaryAnalysisCell,
cell: React.memo((props) => (
<ConfigListTagsCell {...props} enableFilterByTag />
)),
aggregatedCell: "",
size: 100
},
Expand Down

0 comments on commit f87b48b

Please sign in to comment.