mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-05 02:20:10 +00:00
Provide project_entry_id for deleted files
This commit is contained in:
parent
f34877334e
commit
e7acd0df02
1 changed files with 1 additions and 5 deletions
|
@ -3336,11 +3336,7 @@ impl File {
|
|||
}
|
||||
|
||||
pub fn project_entry_id(&self, _: &AppContext) -> Option<ProjectEntryId> {
|
||||
if self.is_deleted {
|
||||
None
|
||||
} else {
|
||||
self.entry_id
|
||||
}
|
||||
self.entry_id
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue