chore: fix sonar issue

This commit is contained in:
mathuo 2024-11-10 11:12:01 +00:00
parent 02d0ad8634
commit a00875aae0
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -543,7 +543,7 @@ export class DockviewComponent
case 'grid': case 'grid':
super.setVisible(panel, visible); super.setVisible(panel, visible);
break; break;
case 'floating': case 'floating': {
const item = this.floatingGroups.find( const item = this.floatingGroups.find(
(floatingGroup) => floatingGroup.group === panel (floatingGroup) => floatingGroup.group === panel
); );
@ -555,6 +555,7 @@ export class DockviewComponent
}); });
} }
break; break;
}
case 'popout': case 'popout':
console.warn( console.warn(
'dockview: You cannot hide a group that is in a popout window' 'dockview: You cannot hide a group that is in a popout window'