.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user