aboutsummaryrefslogtreecommitdiff
path: root/ui/src/components/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-02-19 00:34:03 +0100
committermetamuffin <metamuffin@disroot.org>2026-02-19 00:34:03 +0100
commit38c3903265d3f47206e13232606d864b05ad00cc (patch)
treefe64d4bec58e31d6b34b7158075ca312bf2008e1 /ui/src/components/mod.rs
parent848d4adc1a6095e92b67d2fe7211c303924e5c04 (diff)
downloadjellything-38c3903265d3f47206e13232606d864b05ad00cc.tar
jellything-38c3903265d3f47206e13232606d864b05ad00cc.tar.bz2
jellything-38c3903265d3f47206e13232606d864b05ad00cc.tar.zst
readd player page; ident naming
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 b63fa44..c3ba9b0 100644
--- a/ui/src/components/mod.rs
+++ b/ui/src/components/mod.rs
@@ -20,7 +20,7 @@ use crate::{
login::{AccountLogin, AccountLogout, AccountSetPassword},
message::Message,
node_list::NodeList,
- node_page::NodePage,
+ node_page::{NodePage, Player},
},
};
use jellycommon::{jellyobject::Object, *};
@@ -34,6 +34,9 @@ define! {
@if let Some(nku) = view.get(VIEW_NODE_PAGE) {
@NodePage { ri, nku }
}
+ @if let Some(nku) = view.get(VIEW_PLAYER) {
+ @Player { ri, nku }
+ }
@for nl in view.iter(VIEW_NODE_LIST) {
@NodeList { ri, nl }
}