File tree 2 files changed +12
-10
lines changed
client/web/src/components/QuickSwitcher 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const QuickSwitcher: React.FC = React.memo(() => {
54
54
55
55
return (
56
56
< div
57
- className = "fixed left-0 right-0 top-0 bottom-0 bg-black bg-opacity-60 flex justify-center"
57
+ className = "fixed left-0 right-0 top-0 bottom-0 bg-black bg-opacity-60 flex justify-center z-10 "
58
58
onClick = { handleClose }
59
59
>
60
60
< div
Original file line number Diff line number Diff line change @@ -87,16 +87,18 @@ function useGroupPanelActions(): QuickAction[] {
87
87
const list : QuickAction [ ] = [ ] ;
88
88
89
89
Object . values ( groups ) . forEach ( ( group ) => {
90
- group . panels . forEach ( ( panel ) => {
91
- list . push ( {
92
- key : `qs#grouppanel#${ panel . id } ` ,
93
- label : `[${ group . name } ] ${ panel . name } ` ,
94
- source : 'core' ,
95
- action : ( { navigate } ) => {
96
- navigate ( `/main/group/${ group . _id } /${ panel . id } ` ) ;
97
- } ,
90
+ group . panels
91
+ . filter ( ( p ) => p . type !== model . group . GroupPanelType . GROUP )
92
+ . forEach ( ( panel ) => {
93
+ list . push ( {
94
+ key : `qs#grouppanel#${ panel . id } ` ,
95
+ label : `[${ group . name } ] ${ panel . name } ` ,
96
+ source : 'core' ,
97
+ action : ( { navigate } ) => {
98
+ navigate ( `/main/group/${ group . _id } /${ panel . id } ` ) ;
99
+ } ,
100
+ } ) ;
98
101
} ) ;
99
- } ) ;
100
102
} ) ;
101
103
102
104
return list ;
You can’t perform that action at this time.
0 commit comments