remove extraneous depth field

This commit is contained in:
Mikayla
2023-09-15 11:28:36 -07:00
parent 8222102d01
commit 77cdbdb12a
3 changed files with 17 additions and 13 deletions
+2 -1
View File
@@ -785,8 +785,9 @@ impl CollabPanel {
}
let mut collapse_depth = None;
for mat in matches {
let (depth, channel, path) =
let (channel, path) =
channel_store.channel_at_index(mat.candidate_id).unwrap();
let depth = path.len() - 1;
let location: ChannelLocation<'_> = (channel.id, path).into();