Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Linting fix eslint
  • Loading branch information
Emyrk committed May 27, 2022
commit 71ba33271909bb107f1a243a79ae45d9b44b8dfa
24 changes: 12 additions & 12 deletions site/src/components/UsersTable/UsersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,19 @@ export const UsersTable: React.FC<UsersTableProps> = ({
// Return either suspend or activate depending on status
(u.status === "active"
? [
{
label: Language.suspendMenuItem,
onClick: onSuspendUser,
},
]
{
label: Language.suspendMenuItem,
onClick: onSuspendUser,
},
]
: [
{
label: Language.activateMenuItem,
// TODO: Activate user
// eslint-disable-next-line @typescript-eslint/no-empty-function
onClick: function () {},
},
]
{
label: Language.activateMenuItem,
// TODO: Activate user
// eslint-disable-next-line @typescript-eslint/no-empty-function
onClick: function () {},
},
]
).concat({
label: Language.resetPasswordMenuItem,
onClick: onResetUserPassword,
Expand Down