feat: add claim application functionality to the license review page

This commit is contained in:
estifanos
2026-08-22 06:09:44 +00:00
parent b652136bac
commit 841579468a

View File

@@ -533,11 +533,11 @@ export function LicenseReviewPage() {
try { try {
switch (action.id) { switch (action.id) {
case "claim": case "claim":
// Usually fired from the queue, but an officer can also open an // Usually fired from the queue, but an officer who opened an
// unclaimed application directly and claim it from here. // unclaimed application directly claims it from here.
await run( await run(
() => claimApplication(id).unwrap(), () => claimApplication(id).unwrap(),
t("review.done.claim", "Application claimed"), t("review.done.claim", "Claimed — the application is now yours"),
); );
break; break;
case "complete-review": case "complete-review":