Allow guests to rename stuff
Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
470d693d5e
commit
438e4e7a19
7 changed files with 113 additions and 29 deletions
|
@ -295,11 +295,6 @@ impl ProjectPanel {
|
|||
Ok(())
|
||||
}))
|
||||
} else {
|
||||
// TODO - implement this for remote projects
|
||||
if !worktree.read(cx).is_local() {
|
||||
return None;
|
||||
}
|
||||
|
||||
let old_path = entry.path.clone();
|
||||
let new_path = if let Some(parent) = old_path.parent() {
|
||||
parent.join(filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue