diff --git a/src/components/users/UsersOverview.svelte b/src/components/users/UsersOverview.svelte
index 556717b1..fa87b9ab 100644
--- a/src/components/users/UsersOverview.svelte
+++ b/src/components/users/UsersOverview.svelte
@@ -105,10 +105,10 @@
{#if u.enabled}
Active
+ class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">{$_('active')}
{:else}
Inactive
+ class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">{$_('inactive')}
{/if}
|
@@ -133,9 +133,7 @@
.then((resp) => {
current_users = current_users.filter((obj) => obj.id !== u.id);
})
- .catch((err) => {
- // error deleting user
- });
+ .catch((err) => {});
}}
tabindex="0"
class="ml-4 text-red-600 hover:text-red-900 cursor-pointer">{$_('confirm-delete')}
@@ -145,7 +143,7 @@
class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
Edit
+ class="text-indigo-600 hover:text-indigo-900">{$_('edit')}
{#if store.state.jwtinfo.userdetails.permissions.includes('USER:DELETE')}
|