feat: new search experience (#58)
Reviewed-on: #58
This commit was merged in pull request #58.
This commit is contained in:
@@ -135,6 +135,13 @@ fn opens_run(rows: &[Row], index: usize) -> bool {
|
||||
}
|
||||
|
||||
pub fn init(group: Entity<Group>, window: &mut Window, cx: &mut App) -> Entity<GroupPanel> {
|
||||
let key = group.read(cx).key().clone();
|
||||
let groups = GroupsRegistry::global(cx);
|
||||
|
||||
groups.update(cx, |registry, cx| {
|
||||
registry.activate(&key, cx);
|
||||
});
|
||||
|
||||
cx.new(|cx| GroupPanel::new(group, window, cx))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user