Compare commits

..

3 Commits

Author SHA1 Message Date
Josh Hawkins
75fd22fcce
Merge 777b01bb05 into 097673b845 2025-11-16 17:41:59 +00:00
Josh Hawkins
777b01bb05 re-add incorrectly removed face library button icons 2025-11-16 11:41:53 -06:00
Josh Hawkins
fa12cc408c fix comma dangle linter issue 2025-11-16 11:38:06 -06:00
2 changed files with 8 additions and 3 deletions

View File

@ -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;

View File

@ -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>