Use better fallback for empty rerun action (#32031)
When invoking the task rerun action before any task had been run, it falls back to task selection modal. Adjust this fall back to use the debugger view, if available: Before:  After:  Release Notes: - N/A
This commit is contained in:
@@ -80,7 +80,14 @@ pub fn init(cx: &mut App) {
|
||||
);
|
||||
}
|
||||
} else {
|
||||
toggle_modal(workspace, None, window, cx).detach();
|
||||
spawn_task_or_modal(
|
||||
workspace,
|
||||
&Spawn::ViaModal {
|
||||
reveal_target: None,
|
||||
},
|
||||
window,
|
||||
cx,
|
||||
);
|
||||
};
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user