@@ -135,7 +135,7 @@ function PeopleListContent({
|
|||||||
}) {
|
}) {
|
||||||
const data = usePreloadedQuery<PeopleListPageQueryType>(
|
const data = usePreloadedQuery<PeopleListPageQueryType>(
|
||||||
peopleListPageQuery,
|
peopleListPageQuery,
|
||||||
queryRef,
|
queryRef
|
||||||
);
|
);
|
||||||
const [searchParams, setSearchParams] = useSearchParams();
|
const [searchParams, setSearchParams] = useSearchParams();
|
||||||
const [isPending, startTransition] = useTransition();
|
const [isPending, startTransition] = useTransition();
|
||||||
@@ -216,8 +216,8 @@ function PeopleListContent({
|
|||||||
{person?.kind === "EMPLOYEE"
|
{person?.kind === "EMPLOYEE"
|
||||||
? "Employee"
|
? "Employee"
|
||||||
: person?.kind === "CONTRACTOR"
|
: person?.kind === "CONTRACTOR"
|
||||||
? "Contractor"
|
? "Contractor"
|
||||||
: "Vendor"}
|
: "Vendor"}
|
||||||
</Badge>
|
</Badge>
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
@@ -227,7 +227,7 @@ function PeopleListContent({
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (
|
if (
|
||||||
window.confirm(
|
window.confirm(
|
||||||
"Are you sure you want to delete this person?",
|
"Are you sure you want to delete this person?"
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
deletePeople({
|
deletePeople({
|
||||||
|
|||||||
Reference in New Issue
Block a user