feat: add quick-assign action from people list with person preselected
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Eye, Pencil } from "lucide-react"
|
||||
import { Eye, Pencil, UserPlus } from "lucide-react"
|
||||
import Link from "next/link"
|
||||
|
||||
import PageHeader from "@/components/common/pageheader"
|
||||
@@ -130,6 +130,19 @@ export default async function PeoplePage(props: {
|
||||
<Pencil />
|
||||
</Button>
|
||||
</Link>
|
||||
<Link
|
||||
href={`/assignments/new?personId=${person.id}`}
|
||||
passHref
|
||||
>
|
||||
<Button
|
||||
className="btn btn-primary"
|
||||
variant="outline"
|
||||
size="icon"
|
||||
aria-label={copy.list.actions.edit}
|
||||
>
|
||||
<UserPlus />
|
||||
</Button>
|
||||
</Link>
|
||||
</td>
|
||||
</tr>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user