added role column to table
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
backend/node_modules/
|
backend/node_modules/
|
||||||
client/node_modules/
|
client/node_modules/
|
||||||
|
todo.txt
|
@@ -31,6 +31,9 @@ function App() {
|
|||||||
<th className="px-4 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider">
|
<th className="px-4 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider">
|
||||||
Created
|
Created
|
||||||
</th>
|
</th>
|
||||||
|
<th className="px-4 py-2 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider">
|
||||||
|
Role
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody className="bg-white divide-y divide-gray-100">
|
<tbody className="bg-white divide-y divide-gray-100">
|
||||||
@@ -43,6 +46,7 @@ function App() {
|
|||||||
<td className="px-4 py-2 whitespace-nowrap">{user.email}</td>
|
<td className="px-4 py-2 whitespace-nowrap">{user.email}</td>
|
||||||
<td className="px-4 py-2 whitespace-nowrap">{user.password}</td>
|
<td className="px-4 py-2 whitespace-nowrap">{user.password}</td>
|
||||||
<td className="px-4 py-2 whitespace-nowrap">{user.created}</td>
|
<td className="px-4 py-2 whitespace-nowrap">{user.created}</td>
|
||||||
|
<td className="px-4 py-2 whitespace-nowrap">{user.role}</td>
|
||||||
</tr>
|
</tr>
|
||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Reference in New Issue
Block a user