mirror of
https://github.com/yewprint/yewprint
synced 2024-11-24 04:23:05 +00:00
PanelStack: fix missing element for comparison in PartialEq
This commit is contained in:
parent
c6c19f0241
commit
d596258759
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ impl PanelStackState {
|
|||
|
||||
impl PartialEq for PanelStackState {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.version == other.version
|
||||
Rc::ptr_eq(&self.opened_panels, &other.opened_panels) && self.version == other.version
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue