@@ -81,10 +81,14 @@ export default function Opportunities({
|
||||
{[
|
||||
'draft',
|
||||
'submitted',
|
||||
'needs_information',
|
||||
'in_review',
|
||||
'information_pending',
|
||||
'returned',
|
||||
'approved',
|
||||
'published',
|
||||
'suspended',
|
||||
'rejected',
|
||||
'archived',
|
||||
].map((s) => (
|
||||
<Link
|
||||
@@ -100,6 +104,10 @@ export default function Opportunities({
|
||||
className="flex flex-wrap gap-3"
|
||||
onSubmit={(e) => {
|
||||
e.preventDefault();
|
||||
form.transform((data) => ({
|
||||
...data,
|
||||
deleted: data.deleted ? '1' : '0',
|
||||
}));
|
||||
form.get(basePath);
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user