diff --git a/frontend/src/components/SimulationList.tsx b/frontend/src/components/SimulationList.tsx index 46d3284..f20b194 100644 --- a/frontend/src/components/SimulationList.tsx +++ b/frontend/src/components/SimulationList.tsx @@ -172,25 +172,25 @@ export function SimulationList({ engagementId }: SimulationListProps): JSX.Eleme
- +
- - - - - + + + + + {data.map((sim) => ( navigate(`/engagements/${engagementId}/simulations/${sim.id}/edit`) } > - - - - diff --git a/frontend/src/pages/EngagementsListPage.tsx b/frontend/src/pages/EngagementsListPage.tsx index fc47ea6..93d83b1 100644 --- a/frontend/src/pages/EngagementsListPage.tsx +++ b/frontend/src/pages/EngagementsListPage.tsx @@ -69,32 +69,32 @@ export function EngagementsListPage(): JSX.Element { {!isLoading && !isError && data && data.length > 0 ? (
-
NameMITREStatusExecuted at
NameMITREStatusExecuted at
+ + {(() => { const items = [ ...(sim.tactics ?? []).map((t) => t.id), @@ -210,10 +210,10 @@ export function SimulationList({ engagementId }: SimulationListProps): JSX.Eleme return `${items[0]} +${items.length - 1}`; })()} + + {formatDate(sim.executed_at)}
+
- - - - - - - + + + + + + + {data.map((eng) => ( - - + - - - - - + + +
NameStatusStartEndCreated byActions
NameStatusStartEndCreated byActions
+
{eng.name} + {formatDate(eng.start_date)}{formatDate(eng.end_date)}{eng.created_by.username} + {formatDate(eng.start_date)}{formatDate(eng.end_date)}{eng.created_by.username}
View diff --git a/frontend/src/pages/TemplatesListPage.tsx b/frontend/src/pages/TemplatesListPage.tsx index 288d4b0..10455b3 100644 --- a/frontend/src/pages/TemplatesListPage.tsx +++ b/frontend/src/pages/TemplatesListPage.tsx @@ -69,20 +69,20 @@ export function TemplatesListPage(): JSX.Element { {!isLoading && !isError && data && data.length > 0 ? (
- +
- - - - - - + + + + + + {data.map((t) => ( - - + - - - - + +
NameMITRECreated byUpdatedActions
NameMITRECreated byUpdatedActions
+
+ {mitreCount(t) === 0 ? '—' : mitreCount(t)} {t.created_by.username}{formatDate(t.updated_at)} + {t.created_by.username}{formatDate(t.updated_at)}
Edit diff --git a/frontend/src/pages/UsersAdminPage.tsx b/frontend/src/pages/UsersAdminPage.tsx index 301a17c..d03fe16 100644 --- a/frontend/src/pages/UsersAdminPage.tsx +++ b/frontend/src/pages/UsersAdminPage.tsx @@ -188,13 +188,13 @@ export function UsersAdminPage(): JSX.Element { {!list.isLoading && !list.isError && list.data && list.data.length > 0 ? (
- +
- - - - - + + + + + @@ -204,8 +204,8 @@ export function UsersAdminPage(): JSX.Element { // Fragment must carry the key — `<>` cannot, which broke // per-row reconciliation (reset-password state leaked across rows). - - + - - - +
UsernameRoleCreatedActions
UsernameRoleCreatedActions
+
{u.username} {isSelf ? ( @@ -213,7 +213,7 @@ export function UsersAdminPage(): JSX.Element { ) : null} + {u.created_at} + {u.created_at}