mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
feat: add claim application functionality to the license review page
This commit is contained in:
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user