Create a button to invite guests
All checks were successful
Playwright Tests / test (pull_request) Successful in 1m35s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 7m50s

This commit is contained in:
Manuel Bustillo 2024-10-27 11:05:56 +01:00
parent 118a42fb31
commit a4edcbca07

View File

@ -50,6 +50,7 @@ export default async function guestsTable() {
<th scope="col" className="px-6 py-3">
Status
</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
@ -79,6 +80,11 @@ export default async function guestsTable() {
{guest.status}
</span>
</td>
<td>
{guest.status === 'Considered' && (<button className="bg-blue-300 hover:bg-blue-500 text-white py-1 px-2 rounded">
Invite
</button>)}
</td>
</tr>
))}
</tbody>