Show badge when there are pending contact requests
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
c71b264786
commit
933a1f2cd6
17 changed files with 241 additions and 42 deletions
|
@ -900,6 +900,12 @@ impl Entity for ProjectPanel {
|
|||
type Event = Event;
|
||||
}
|
||||
|
||||
impl workspace::sidebar::SidebarItem for ProjectPanel {
|
||||
fn should_show_badge(&self, _: &AppContext) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue