Skip to content

Commit

Permalink
fix(organization): always see verified_by_coop_mediation_numerique (#700
Browse files Browse the repository at this point in the history
)
  • Loading branch information
douglasduteil authored Dec 11, 2024
1 parent aa7ab85 commit 403038c
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions packages/~/organizations/api/src/:id/members/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,27 +194,21 @@ async function Row_Actions() {
</button>
</li>
<li>
{verification_type ? (
<button
class={menu_item()}
{...await hx_urls.organizations[":id"].members[":user_id"].$patch(
{
param: {
id: organization_id.toString(),
user_id: user_id.toString(),
},
form: {
verification_type: "verified_by_coop_mediation_numerique",
},
},
)}
hx-swap="none"
>
🔄 vérif: no verified by coop mediation numerique
</button>
) : (
<></>
)}
<button
class={menu_item()}
{...await hx_urls.organizations[":id"].members[":user_id"].$patch({
param: {
id: organization_id.toString(),
user_id: user_id.toString(),
},
form: {
verification_type: "verified_by_coop_mediation_numerique",
},
})}
hx-swap="none"
>
🔄 vérif: no verified by coop mediation numerique
</button>
</li>
<li>
{verification_type ? (
Expand Down

0 comments on commit 403038c

Please sign in to comment.