Skip to content

Commit

Permalink
minor: fix column header and missing sort icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Devansu-Yadav authored and roboquat committed Feb 15, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f500de3 commit 07c65aa
Showing 2 changed files with 14 additions and 6 deletions.
15 changes: 12 additions & 3 deletions components/dashboard/src/admin/UserSearch.tsx
Original file line number Diff line number Diff line change
@@ -97,9 +97,18 @@ export default function UserSearch() {
</div>
<div className="flex flex-col space-y-2">
<div className="px-6 py-3 flex justify-between space-x-2 text-sm text-gray-400 border-t border-b border-gray-200 dark:border-gray-800 mb-2">
<div className="w-1/12"></div>
<div className="w-6/12">Name</div>
<div className="w-5/12">Created</div>
<div className="w-7/12">Name</div>
<div className="w-5/12 flex items-center">
<span>Created</span>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" className="h-4 w-4" viewBox="0 0 16 16">
<path
fill="#A8A29E"
fill-rule="evenodd"
d="M13.366 8.234a.8.8 0 010 1.132l-4.8 4.8a.8.8 0 01-1.132 0l-4.8-4.8a.8.8 0 111.132-1.132L7.2 11.67V2.4a.8.8 0 111.6 0v9.269l3.434-3.435a.8.8 0 011.132 0z"
clip-rule="evenodd"
/>
</svg>
</div>
</div>
{searchResult.rows
.filter((u) => u.identities.length > 0)
5 changes: 2 additions & 3 deletions components/dashboard/src/admin/WorkspacesSearch.tsx
Original file line number Diff line number Diff line change
@@ -149,9 +149,8 @@ export function WorkspaceSearch(props: Props) {
</Alert>
<div className="flex flex-col space-y-2">
<div className="px-6 py-3 flex justify-between text-sm text-gray-400 border-t border-b border-gray-200 dark:border-gray-800 mb-2">
<div className="w-8"></div>
<div className="w-5/12">Name</div>
<div className="w-5/12">Context</div>
<div className="w-4/12">Name</div>
<div className="w-6/12">Context</div>
<div className="w-2/12">Last Started</div>
</div>
{searchResult.rows.map((ws) => (

0 comments on commit 07c65aa

Please sign in to comment.