We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 624c399 commit a9a95b4Copy full SHA for a9a95b4
src/components/Agentic/IncidentDirectives/index.tsx
@@ -25,6 +25,7 @@ import * as s from "./styles";
25
import type { ColumnMeta, ExtendedDirective } from "./types";
26
27
// TODO: remove
28
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
29
const mockData: Directive[] = [
30
{
31
id: "1",
@@ -170,8 +171,7 @@ export const IncidentDirectives = () => {
170
171
// return conditionMatch || directiveMatch;
172
// });
173
- // TODO: remove mock data
174
- return (data?.directives ?? mockData)?.map((item, index) => ({
+ return data?.directives?.map((item, index) => ({
175
...item,
176
number: index + 1,
177
isSelected: selectedConditions.includes(item.id)
0 commit comments