This commit is contained in:
parent
4317f79d0c
commit
cdcdef9721
@ -63,10 +63,6 @@ impl Liste {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn get_content(&self) -> Content {
|
pub(crate) fn get_content(&self) -> Content {
|
||||||
if self.content.len() == 1 {
|
Content::List(self.content.clone())
|
||||||
self.content[0].clone()
|
|
||||||
} else {
|
|
||||||
Content::List(self.content.clone())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user