Skip to content

Commit

Permalink
fix(webapp): make API table header match the actual content (#1802)
Browse files Browse the repository at this point in the history
  • Loading branch information
navinpai authored Jan 4, 2023
1 parent 0ce7839 commit 3aac1df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/javascript/components/Settings/APIKeys/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const getBodyRows = (
return keys.reduce((acc, k) => {
acc.push({
cells: [
{ value: k.name },
{ value: k.id },
{ value: k.name },
{ value: k.role },
{ value: formatRelative(k.createdAt, now) },
{
Expand Down Expand Up @@ -64,11 +64,11 @@ const getBodyRows = (
};

const headRow = [
{ name: '', label: 'Id', sortable: 0 },
{ name: '', label: 'Name', sortable: 0 },
{ name: '', label: 'Role', sortable: 0 },
{ name: '', label: 'Creation date', sortable: 0 },
{ name: '', label: 'Expiration date', sortable: 0 },
{ name: '', label: 'Role', 'aria-label': 'Actions', sortable: 0 },
];

const ApiKeys = () => {
Expand Down

0 comments on commit 3aac1df

Please sign in to comment.