mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-21 04:26:43 +03:00
Compare commits
2 Commits
12f6092a5b
...
777b01bb05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
777b01bb05 | ||
|
|
fa12cc408c |
@ -52,7 +52,7 @@ self.addEventListener("notificationclick", (event) => {
|
|||||||
"X-CSRF-TOKEN": 1,
|
"X-CSRF-TOKEN": 1,
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ ids: [event.notification.data.id] }),
|
body: JSON.stringify({ ids: [event.notification.data.id] }),
|
||||||
})
|
}), // eslint-disable-line comma-dangle
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -57,6 +57,7 @@ import { Trans, useTranslation } from "react-i18next";
|
|||||||
import {
|
import {
|
||||||
LuFolderCheck,
|
LuFolderCheck,
|
||||||
LuImagePlus,
|
LuImagePlus,
|
||||||
|
LuPencil,
|
||||||
LuRefreshCw,
|
LuRefreshCw,
|
||||||
LuScanFace,
|
LuScanFace,
|
||||||
LuTrash2,
|
LuTrash2,
|
||||||
@ -579,7 +580,9 @@ function LibrarySelector({
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
setRenameFace(face);
|
setRenameFace(face);
|
||||||
}}
|
}}
|
||||||
></Button>
|
>
|
||||||
|
<LuPencil className="size-4 text-primary" />
|
||||||
|
</Button>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipPortal>
|
<TooltipPortal>
|
||||||
<TooltipContent>{t("button.renameFace")}</TooltipContent>
|
<TooltipContent>{t("button.renameFace")}</TooltipContent>
|
||||||
@ -595,7 +598,9 @@ function LibrarySelector({
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
setConfirmDelete(face);
|
setConfirmDelete(face);
|
||||||
}}
|
}}
|
||||||
></Button>
|
>
|
||||||
|
<LuTrash2 className="size-4 text-destructive" />
|
||||||
|
</Button>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipPortal>
|
<TooltipPortal>
|
||||||
<TooltipContent>{t("button.deleteFace")}</TooltipContent>
|
<TooltipContent>{t("button.deleteFace")}</TooltipContent>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user