@@ -800,7 +800,7 @@ export class DockviewComponent
800
800
group = item ;
801
801
802
802
const popoutReferenceGroupId = this . _popoutGroups . find (
803
- ( _ ) => _ . popoutGroup === group
803
+ ( _ ) => _ . popoutGroup . id === group . id
804
804
) ?. referenceGroup ;
805
805
const popoutReferenceGroup = popoutReferenceGroupId
806
806
? this . getPanel ( popoutReferenceGroupId )
@@ -1715,7 +1715,7 @@ export class DockviewComponent
1715
1715
1716
1716
if ( group . api . location . type === 'floating' ) {
1717
1717
const floatingGroup = this . _floatingGroups . find (
1718
- ( _ ) => _ . group === group
1718
+ ( _ ) => _ . group . id === group . id
1719
1719
) ;
1720
1720
1721
1721
if ( floatingGroup ) {
@@ -1728,7 +1728,7 @@ export class DockviewComponent
1728
1728
remove ( this . _floatingGroups , floatingGroup ) ;
1729
1729
floatingGroup . dispose ( ) ;
1730
1730
1731
- if ( ! options ?. skipActive && this . _activeGroup === group ) {
1731
+ if ( ! options ?. skipActive && this . _activeGroup ?. id === group . id ) {
1732
1732
const groups = Array . from ( this . _groups . values ( ) ) ;
1733
1733
1734
1734
this . doSetGroupAndPanelActive (
@@ -1744,7 +1744,7 @@ export class DockviewComponent
1744
1744
1745
1745
if ( group . api . location . type === 'popout' ) {
1746
1746
const selectedGroup = this . _popoutGroups . find (
1747
- ( _ ) => _ . popoutGroup === group
1747
+ ( _ ) => _ . popoutGroup . id === group . id
1748
1748
) ;
1749
1749
1750
1750
if ( selectedGroup ) {
@@ -1771,7 +1771,7 @@ export class DockviewComponent
1771
1771
this . doSetGroupAndPanelActive ( removedGroup ) ;
1772
1772
}
1773
1773
1774
- if ( ! options ?. skipActive && this . _activeGroup === group ) {
1774
+ if ( ! options ?. skipActive && this . _activeGroup ?. id === group . id ) {
1775
1775
const groups = Array . from ( this . _groups . values ( ) ) ;
1776
1776
1777
1777
this . doSetGroupAndPanelActive (
0 commit comments