mirror of
https://github.com/yewprint/yewprint
synced 2024-11-27 22:10:22 +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 {
|
impl PartialEq for PanelStackState {
|
||||||
fn eq(&self, other: &Self) -> bool {
|
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