From 551e62a6012284823d6b22a9257c3fae07de7fd9 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 1 Aug 2023 15:24:09 +0200 Subject: store parent node and show "go up" button --- common/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'common/src') diff --git a/common/src/lib.rs b/common/src/lib.rs index 7392c87..81fcfd8 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -28,6 +28,7 @@ pub struct NodePrivate { pub struct NodePublic { pub kind: NodeKind, pub title: String, + #[serde(default)] pub parent: Option, #[serde(default)] pub children: Vec, #[serde(default)] pub tagline: Option, #[serde(default)] pub description: Option, -- cgit v1.2.3-70-g09d2