More general code clean up. Updating Lucide icons.
This commit is contained in:
@@ -4,18 +4,18 @@
|
||||
import { goto } from '$app/navigation';
|
||||
import { update_ae_obj__user, delete_ae_obj_id__user } from '$lib/ae_core/ae_core__user';
|
||||
import { editable_fields__user } from '$lib/ae_core/ae_core__user.editable_fields';
|
||||
import {
|
||||
ShieldCheck,
|
||||
Mail,
|
||||
User as UserIcon,
|
||||
ArrowLeft,
|
||||
Save,
|
||||
Trash2,
|
||||
import {
|
||||
ShieldCheck,
|
||||
Mail,
|
||||
User as UserIcon,
|
||||
ArrowLeft,
|
||||
Save,
|
||||
Trash2,
|
||||
Lock,
|
||||
Clock,
|
||||
Key,
|
||||
CheckCircle2,
|
||||
XCircle,
|
||||
CircleX,
|
||||
Fingerprint,
|
||||
Activity,
|
||||
Settings
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
async function handle_delete() {
|
||||
if (!confirm('Are you sure you want to disable this user account?')) return;
|
||||
|
||||
|
||||
const result = await delete_ae_obj_id__user({
|
||||
api_cfg: $ae_api,
|
||||
user_id: user.user_id_random,
|
||||
|
||||
Reference in New Issue
Block a user