Create a button to invite guests
This commit is contained in:
parent
118a42fb31
commit
a4edcbca07
@ -6,7 +6,7 @@ import { Suspense } from 'react';
|
|||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
|
|
||||||
export function TableHeader() {
|
export function TableHeader() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default async function guestsTable() {
|
export default async function guestsTable() {
|
||||||
@ -50,6 +50,7 @@ export default async function guestsTable() {
|
|||||||
<th scope="col" className="px-6 py-3">
|
<th scope="col" className="px-6 py-3">
|
||||||
Status
|
Status
|
||||||
</th>
|
</th>
|
||||||
|
<th>Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -79,6 +80,11 @@ export default async function guestsTable() {
|
|||||||
{guest.status}
|
{guest.status}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</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>
|
</tr>
|
||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user