Update table view

This commit is contained in:
sosokker 2023-11-30 07:25:24 +07:00
parent 243e43dbcc
commit f981490a9d

View File

@ -51,11 +51,7 @@ export function TableBoard() {
{/* head */} {/* head */}
<thead> <thead>
<tr> <tr>
<th> <th></th>
<label>
<input type="checkbox" className="checkbox" />
</label>
</th>
<th>Title</th> <th>Title</th>
<th>Description</th> <th>Description</th>
<th>Priority</th> <th>Priority</th>
@ -67,9 +63,7 @@ export function TableBoard() {
{tasks.map((task, index) => ( {tasks.map((task, index) => (
<tr key={index}> <tr key={index}>
<th> <th>
<label> <label></label>
<input type="checkbox" className="checkbox" />
</label>
</th> </th>
<td> <td>
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
@ -86,9 +80,7 @@ export function TableBoard() {
</td> </td>
<td>{task.priority}</td> <td>{task.priority}</td>
<th> <th>
<button className="btn btn-ghost btn-xs"> <button className="btn btn-ghost btn-xs">{task.end_event}</button>
{task.end_event}
</button>
</th> </th>
</tr> </tr>
))} ))}