aboutsummaryrefslogtreecommitdiff
path: root/ui/src/components/node_card.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-03-07 13:34:04 +0100
committermetamuffin <metamuffin@disroot.org>2026-03-07 13:34:04 +0100
commit3a6205f6077c1555f2f3bcf308f5e9605b8dbf53 (patch)
tree0742ed69f9abf8973ee62291ba0984e7caffae18 /ui/src/components/node_card.rs
parent4ce6d64648634bd8d22e8ed0676e0e5b22947dc3 (diff)
downloadjellything-3a6205f6077c1555f2f3bcf308f5e9605b8dbf53.tar
jellything-3a6205f6077c1555f2f3bcf308f5e9605b8dbf53.tar.bz2
jellything-3a6205f6077c1555f2f3bcf308f5e9605b8dbf53.tar.zst
reenable node page extras
Diffstat (limited to 'ui/src/components/node_card.rs')
-rw-r--r--ui/src/components/node_card.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/node_card.rs b/ui/src/components/node_card.rs
index 2f5bae7..e9853c7 100644
--- a/ui/src/components/node_card.rs
+++ b/ui/src/components/node_card.rs
@@ -37,7 +37,7 @@ markup::define! {
}
div.subtitle {
span {
- @nku.role.or(node.get(NO_SUBTITLE))
+ @nku.role.as_deref().or(node.get(NO_SUBTITLE))
}
}
}