From dcc3b7a9f3c29df31907af1280b9000ac344458c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 5 Aug 2023 17:39:42 +0200 Subject: refactor node views --- server/src/routes/ui/browser.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'server/src/routes/ui/browser.rs') diff --git a/server/src/routes/ui/browser.rs b/server/src/routes/ui/browser.rs index e7f7d96..6e772d0 100644 --- a/server/src/routes/ui/browser.rs +++ b/server/src/routes/ui/browser.rs @@ -3,7 +3,7 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2023 metamuffin */ -use super::{account::session::Session, error::MyError, layout::DynLayoutPage, node::PosterCard}; +use super::{account::session::Session, error::MyError, layout::DynLayoutPage, node::NodeCard}; use crate::database::Database; use anyhow::Context; use jellycommon::{Node, NodeKind}; @@ -25,12 +25,8 @@ pub fn r_all_items(_sess: Session, db: &State) -> Result