This commit is contained in:
2026-08-08 17:08:20 +07:00
parent 5ba437ed48
commit e36d96bf50
2 changed files with 27 additions and 30 deletions
+5 -3
View File
@@ -60,7 +60,10 @@ impl RepoListView {
.clone()
.unwrap_or_else(|| SharedString::from(announcement.id.clone()));
let description = announcement.description.clone().unwrap_or_default();
let description = announcement
.description
.clone()
.unwrap_or(SharedString::from("No description"));
let activity = last_activity
.map(relative_time)
@@ -103,8 +106,7 @@ impl RepoListView {
Avatar::new()
.name(owner.name())
.when_some(owner.picture(), |this, url| this.src(url))
.small()
.border_0(),
.small(),
)
.child(
div()