Show a different message when participant is active on unshared project
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
29c3b81a0a
commit
4504b36c8f
8 changed files with 97 additions and 54 deletions
|
@ -4687,6 +4687,12 @@ impl<T> PartialEq for WeakModelHandle<T> {
|
|||
|
||||
impl<T> Eq for WeakModelHandle<T> {}
|
||||
|
||||
impl<T: Entity> PartialEq<ModelHandle<T>> for WeakModelHandle<T> {
|
||||
fn eq(&self, other: &ModelHandle<T>) -> bool {
|
||||
self.model_id == other.model_id
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Clone for WeakModelHandle<T> {
|
||||
fn clone(&self) -> Self {
|
||||
Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue