Rename mitigation into mesure

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-04-12 21:09:49 -07:00
parent daff5e6670
commit 3711bb4bbb
80 changed files with 3397 additions and 3472 deletions

View File

@@ -134,10 +134,10 @@ export function NavMain() {
function getNavItems(organizationId?: string): NavItem[] {
return [
{
title: "Mitigations",
title: "Mesures",
icon: ClipboardList,
url: organizationId
? `/organizations/${organizationId}/mitigations`
? `/organizations/${organizationId}/mesures`
: undefined,
},
{

View File

@@ -69,7 +69,7 @@ const SidebarProvider = React.forwardRef<
const [openMobile, setOpenMobile] = React.useState(false);
// This is the internal state of the sidebar.
// We use openProp and setOpenProp for mitigation from outside the component.
// We use openProp and setOpenProp for mesure from outside the component.
const [_open, _setOpen] = React.useState(defaultOpen);
const open = openProp ?? _open;
const setOpen = React.useCallback(