cli: Show alias on rad issue and rad patch

Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
xphoniex
2023-05-22 15:13:28 +02:00
committed by Alexis Sellier
parent 90cf62b027
commit e17e789602
+1 -1
View File
@@ -733,7 +733,7 @@ async fn patches_handler(
.all()?
.filter_map(|r| {
let (id, patch, clock) = r.ok()?;
(state.matches(&patch.state())).then_some((id, patch, clock))
(state.matches(patch.state())).then_some((id, patch, clock))
})
.collect::<Vec<_>>();
patches.sort_by(|(_, a, _), (_, b, _)| b.timestamp().cmp(&a.timestamp()));