aboutsummaryrefslogtreecommitdiff
path: root/ui/src/components/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-02-25 15:21:24 +0100
committermetamuffin <metamuffin@disroot.org>2026-02-25 15:21:24 +0100
commit12868c6bce4287adef760a76f3f1ef9d74fb9bda (patch)
tree5a7a7ff0d7feb970551eab4f855a1837b3c3fff4 /ui/src/components/mod.rs
parent9c08495cca8b9aaf297c88da9ec98a619eb90762 (diff)
downloadjellything-12868c6bce4287adef760a76f3f1ef9d74fb9bda.tar
jellything-12868c6bce4287adef760a76f3f1ef9d74fb9bda.tar.bz2
jellything-12868c6bce4287adef760a76f3f1ef9d74fb9bda.tar.zst
user removal
Diffstat (limited to 'ui/src/components/mod.rs')
-rw-r--r--ui/src/components/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/src/components/mod.rs b/ui/src/components/mod.rs
index e7e5f9c..5460090 100644
--- a/ui/src/components/mod.rs
+++ b/ui/src/components/mod.rs
@@ -18,7 +18,7 @@ pub mod user;
use crate::{
RenderInfo,
components::{
- admin::{AdminDashboard, AdminImport, AdminInfo, AdminUserList},
+ admin::{AdminDashboard, AdminImport, AdminInfo, AdminUser, AdminUserList},
login::{AccountLogin, AccountLogout, AccountSetPassword},
message::Message,
node_list::NodeList,
@@ -67,5 +67,8 @@ define! {
@if let Some(data) = view.get(VIEW_ADMIN_USER_LIST) {
@AdminUserList { ri, data }
}
+ @if let Some(user) = view.get(VIEW_ADMIN_USER) {
+ @AdminUser { ri, user }
+ }
}
}